#2F4E98#2F4E98
#2F4E98 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.127 H 264.7°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4E98 |
|---|---|
| RGB | rgb(47, 78, 152) |
| HSL | hsl(222, 53%, 39%) |
| HSV | hsv(222, 69%, 60%) |
| CMYK | cmyk(69.1%, 48.7%, 0%, 40.4%) |
| CIE-LAB | lab(34.64, 14.27, -43.98) |
| CIE-LCH | lch(34.64, 46.24, 287.98°) |
| OKLab | oklab(44.15% -0.0118 -0.126) |
| OKLCH | oklch(44.15% 0.127 264.7) |
| XYZ | xyz(9.5622, 8.3192, 30.8015) |
| Luminance | 0.0832 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.72
Dusk Blue
#26538D
ΔE00 3.66
Cobalt
#0047AB
ΔE00 3.92
Denim Blue
#3B5B92
ΔE00 4.50
Sapphire
#0F52BA
ΔE00 4.74
Light Navy
#155084
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4E98 #98792F
analogous
#2F8398 #2F4E98 #452F98
triadic
#2F4E98 #982F4E #4E982F
tetradic
#2F4E98 #982F83 #98792F #2F9845
square
#2F4E98 #982F83 #98792F #2F9845
split-complementary
#2F4E98 #98452F #83982F
monochromatic
#121E3B #213669 #2F4E98 #4067C4 #6F8CD2
Accessibility & contrast
On white
7.88
#2F4E98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2F4E98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4E98
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4E98 | 1.00 | 7.88 | 2.66 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27579B
Deuteranopia (green-blind)
#0E4D96
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2f4e98; /* rgb */ color: rgb(47, 78, 152); /* oklch */ color: oklch(44.1% 0.127 264.7);
Tailwind
colors: {
custom: {
50: '#747fb7',
500: '#2f4e98',
950: '#000000',
},
}SCSS
$custom: #2f4e98; $custom-light: #747fb7; $custom-dark: #000000;
JSON
{
"hex": "#2f4e98",
"rgb": {
"r": 47,
"g": 78,
"b": 152
},
"hsl": {
"h": 222.286,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.4415,
"c": 0.12657,
"h": 264.7
},
"luminance": 0.0832
}Semantic roles & 50–950 ramp
primary
#2F4E98
secondary
#BAA269
accent
#B24CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80