#2F4594#2F4594
#2F4594 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.9% C 0.133 H 268.4°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4594 |
|---|---|
| RGB | rgb(47, 69, 148) |
| HSL | hsl(227, 52%, 38%) |
| HSV | hsv(227, 68%, 58%) |
| CMYK | cmyk(68.2%, 53.4%, 0%, 42%) |
| CIE-LAB | lab(31.80, 18.81, -46.12) |
| CIE-LCH | lch(31.80, 49.81, 292.18°) |
| OKLab | oklab(41.9% -0.0036 -0.1325) |
| OKLCH | oklch(41.9% 0.133 268.4) |
| XYZ | xyz(8.6439, 6.9979, 28.9064) |
| Luminance | 0.0700 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.34
Cobalt
#0047AB
ΔE00 4.27
Blueberry
#464196
ΔE00 4.92
Darkish Blue
#014182
ΔE00 5.58
Sapphire (survey)
#2138AB
ΔE00 5.69
Dusk Blue
#26538D
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4594 #947E2F
analogous
#2F7794 #2F4594 #4B2F94
triadic
#2F4594 #942F45 #45942F
tetradic
#2F4594 #942F77 #947E2F #2F944B
square
#2F4594 #942F77 #947E2F #2F944B
split-complementary
#2F4594 #944B2F #77942F
monochromatic
#111A37 #202F66 #2F4594 #3E5BC2 #6D83D1
Accessibility & contrast
On white
8.75
#2F4594 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2F4594 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4594
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4594 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4594 | 1.00 | 8.75 | 2.40 | 8.75 |
| #FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#135097
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f4594; /* rgb */ color: rgb(47, 69, 148); /* oklch */ color: oklch(41.9% 0.133 268.4);
Tailwind
colors: {
custom: {
50: '#7478b4',
500: '#2f4594',
950: '#000000',
},
}SCSS
$custom: #2f4594; $custom-light: #7478b4; $custom-dark: #000000;
JSON
{
"hex": "#2f4594",
"rgb": {
"r": 47,
"g": 69,
"b": 148
},
"hsl": {
"h": 226.931,
"s": 51.795,
"l": 38.235
},
"oklch": {
"l": 0.41904,
"c": 0.13251,
"h": 268.4
},
"luminance": 0.06999
}Semantic roles & 50–950 ramp
primary
#2F4594
secondary
#B8A667
accent
#BC4DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80