Skip to content

#02469f

a dark, electric blue · cool · closest name: Dark Slate Blue

RGB
2, 70, 159
HSL
214°, 98%, 32%
CMYK
99, 56, 0, 38
Luminance
0.0690

At a glance

Every number on this page in one read: what #02469f is made of, how bright it looks, and which way it leans.

Hex
#02469f
Hue
214°
blue
Saturation
98%
electric
Lightness
32%
dark
Brightness
62%
HSV value
Perceived
30%
weighted brightness
Luminance
0.0690
WCAG relative
Temperature
Cool
98/100 cool
Color family
Blue
Tone
Electric
Best ink
White
8.83:1
Closest name
Dark Slate Blue
ΔE2000 10.2
Where it sits
Hue214° of 360°
Saturation98%
Lightness32%
Temperature
Warm ← → Cool98% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#02469f
RGBrgb(2, 70, 159)
HSLhsl(214, 98%, 32%)
CMYKcmyk(99%, 56%, 0%, 38%)
LABlab(31.6 18.3 -53.2)
LCHlch(31.6 56.3 289.0)
OKLCHoklch(0.416 0.157 258.7)
Decimal149151
Display P3color(display-p3 0.008 0.275 0.624)

Copy-ready code

/* CSS */
color: #02469f;
background-color: #02469f;
/* Tailwind (arbitrary) */
class="text-[#02469f] bg-[#02469f]"
/* SCSS */
$brand: #02469f;
/* SwiftUI */
Color(red: 0.008, green: 0.275, blue: 0.624)
/* Android */
Color.parseColor("#02469f")
/* Flutter */
Color(0xFF02469F)
/* Python / OpenCV (BGR) */
(159, 70, 2)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #02469f · 8.83:1
Use #ffffffAAA at every size.
Aa
White text · 8.83:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.38:1
AA fail · AA large fail · AAA fail
Reading the other direction: #02469f as text scores 8.83:1 on white and 2.38:1 on black.

Accessibility — WCAG contrast

Aa
#02469f on white: 8.83:1
AA ✓ pass · AA-large · AAA
Aa
#02469f on black: 2.38:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0051A2
deuteranopia · #00449D
tritanopia · #005C6B

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #02469f is pinned to step 800; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F1F7FD
#E4EEFC
#C1DAFB
#90C0FE
#59A0FD
#2180FC
#036AF2
#0359C9
#02469f
#063674
#042249
Base = 800Lightest = 50 · #F1F7FDDarkest = 950 · #042249
:root {
  --brand-50: #F1F7FD;
  --brand-100: #E4EEFC;
  --brand-200: #C1DAFB;
  --brand-300: #90C0FE;
  --brand-400: #59A0FD;
  --brand-500: #2180FC;
  --brand-600: #036AF2;
  --brand-700: #0359C9;
  --brand-800: #02469f;
  --brand-900: #063674;
  --brand-950: #042249;
  --brand: #02469f;
  --brand-ink: #ffffff;
}

Colors that work with #02469f

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F4F7FA
Tinted page background
Border#C0D3ED
Hairlines and dividers
Muted text#4B6D9B
Captions on the surface
Accent#A13300
Second voice, not a rival
Dark variant#02377E
Hover, pressed, headers
Light variant#E6F1FF
Selected rows, tints
Dark surface#141B24
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #02469f

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#9F5B02
Analogous left#02959F
Analogous right#0C029F
Split-complement 1#9F0C02
Split-complement 2#959F02
Triadic 1#9F0246
Triadic 2#469F02
Tetradic#9F0295

RGB percentages

Red0.8%
Green27.5%
Blue62.4%

CMYK percentages

Cyan98.7%
Magenta56.0%
Yellow0.0%
Key (black)37.6%

Color previews

#02469f text on a black background

contrast 2.38:1

Card sample

#02469f text on a white background

contrast 8.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #02469f;
Background color
Panel with #02469f background
background-color: #02469f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #02469f;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(2, 70, 159, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(2, 70, 159, 0.45);
Border & gradient
Gradient panel
border: 3px solid #02469f;
background: linear-gradient(135deg, #02469f, #27029F);

Monochromatic scale

Palettes built from #02469f

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#02469f in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#02469f, answered

What color is #02469f?

#02469f is a dark electric blue, closest to Dark Slate Blue (ΔE2000 10.2). It sits at 214° on the hue wheel with 98% saturation and 32% lightness, which reads as cool.

What is the RGB value of #02469f?

rgb(2, 70, 159) — 2 red, 70 green and 159 blue out of 255, or 0.8% / 27.5% / 62.4% by channel.

Is #02469f a light or a dark color?

It is a dark color. Relative luminance is 0.0690 and perceived brightness is 30%, so white text on it reaches 8.83:1.

Should I use black or white text on #02469f?

White. It scores 8.83:1 against #02469f, versus 2.38:1 for black — AAA at any size.

What is the complementary color of #02469f?

#9F5B02 sits directly opposite on the wheel. Softer options are the split-complements #9F0C02 and #959F02, which give the same contrast with far less vibration.

What colors go well with #02469f?

For interface work: #F4F7FA as the surface, #C0D3ED for borders, #4B6D9B for secondary text, #A13300 as an accent and #02377E for hover and pressed states. For a palette, the analogous pair #02959F and #0C029F stays calm, while #9F5B02 is the loudest partner.

What is #02469f in CMYK for printing?

cmyk(99%, 56%, 0%, 38%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #02469f warm or cool?

Cool — it scores 98 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #020C9F; nudged cooler, #003E87.

Work with #02469f in the Color Lab