#2F419C#2F419C
#2F419C is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.149 H 270.2°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2F419C |
|---|---|
| RGB | rgb(47, 65, 156) |
| HSL | hsl(230, 54%, 40%) |
| HSV | hsv(230, 70%, 61%) |
| CMYK | cmyk(69.9%, 58.3%, 0%, 38.8%) |
| CIE-LAB | lab(31.31, 24.49, -51.79) |
| CIE-LCH | lch(31.31, 57.28, 295.31°) |
| OKLab | oklab(41.73% 0.0004 -0.1492) |
| OKLCH | oklch(41.73% 0.149 270.2) |
| XYZ | xyz(9.0613, 6.7844, 32.2780) |
| Luminance | 0.0678 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.70
Blueberry
#464196
ΔE00 4.04
Cobalt
#0047AB
ΔE00 4.48
Cobalt (survey)
#1E488F
ΔE00 5.04
Darkslateblue
#483D8B
ΔE00 5.82
Blue Blue
#2242C7
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F419C #9C8A2F
analogous
#2F779C #2F419C #542F9C
triadic
#2F419C #9C2F41 #419C2F
tetradic
#2F419C #9C2F77 #9C8A2F #2F9C54
square
#2F419C #9C2F77 #9C8A2F #2F9C54
split-complementary
#2F419C #9C542F #779C2F
monochromatic
#131A3E #212D6D #2F419C #4258C6 #7182D4
Accessibility & contrast
On white
8.91
#2F419C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2F419C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F419C
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F419C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F419C | 1.00 | 8.91 | 2.36 | 8.91 |
| #FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f419c; /* rgb */ color: rgb(47, 65, 156); /* oklch */ color: oklch(41.7% 0.149 270.2);
Tailwind
colors: {
custom: {
50: '#7675ba',
500: '#2f419c',
950: '#000000',
},
}SCSS
$custom: #2f419c; $custom-light: #7675ba; $custom-dark: #000000;
JSON
{
"hex": "#2f419c",
"rgb": {
"r": 47,
"g": 65,
"b": 156
},
"hsl": {
"h": 230.092,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.41726,
"c": 0.14917,
"h": 270.2
},
"luminance": 0.06785
}Semantic roles & 50–950 ramp
primary
#2F419C
secondary
#BCAE6B
accent
#C54BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81