#2F419A#2F419A
#2F419A is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.146 H 270.1°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2F419A |
|---|---|
| RGB | rgb(47, 65, 154) |
| HSL | hsl(230, 53%, 39%) |
| HSV | hsv(230, 69%, 60%) |
| CMYK | cmyk(69.5%, 57.8%, 0%, 39.6%) |
| CIE-LAB | lab(31.15, 23.74, -50.83) |
| CIE-LCH | lch(31.15, 56.10, 295.04°) |
| OKLab | oklab(41.56% 0.0004 -0.1463) |
| OKLCH | oklch(41.56% 0.146 270.1) |
| XYZ | xyz(8.8933, 6.7172, 31.3934) |
| Luminance | 0.0672 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.93
Blueberry
#464196
ΔE00 4.03
Cobalt
#0047AB
ΔE00 4.56
Cobalt (survey)
#1E488F
ΔE00 4.88
Darkslateblue
#483D8B
ΔE00 5.73
Blue Blue
#2242C7
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F419A #9A882F
analogous
#2F769A #2F419A #532F9A
triadic
#2F419A #9A2F41 #419A2F
tetradic
#2F419A #9A2F76 #9A882F #2F9A53
square
#2F419A #9A2F76 #9A882F #2F9A53
split-complementary
#2F419A #9A532F #769A2F
monochromatic
#12193C #212D6B #2F419A #4157C5 #7081D3
Accessibility & contrast
On white
8.96
#2F419A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2F419A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F419A
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F419A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F419A | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f419a; /* rgb */ color: rgb(47, 65, 154); /* oklch */ color: oklch(41.6% 0.146 270.1);
Tailwind
colors: {
custom: {
50: '#7575b8',
500: '#2f419a',
950: '#000000',
},
}SCSS
$custom: #2f419a; $custom-light: #7575b8; $custom-dark: #000000;
JSON
{
"hex": "#2f419a",
"rgb": {
"r": 47,
"g": 65,
"b": 154
},
"hsl": {
"h": 229.907,
"s": 53.234,
"l": 39.412
},
"oklch": {
"l": 0.41559,
"c": 0.14635,
"h": 270.1
},
"luminance": 0.06718
}Semantic roles & 50–950 ramp
primary
#2F419A
secondary
#BBAD6A
accent
#C44BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80