#2F4EA2#2F4EA2
#2F4EA2 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.9% C 0.141 H 265.7°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4EA2 |
|---|---|
| RGB | rgb(47, 78, 162) |
| HSL | hsl(224, 55%, 41%) |
| HSV | hsv(224, 71%, 64%) |
| CMYK | cmyk(71%, 51.9%, 0%, 36.5%) |
| CIE-LAB | lab(35.32, 18.05, -48.90) |
| CIE-LCH | lch(35.32, 52.13, 290.26°) |
| OKLab | oklab(44.89% -0.0105 -0.1405) |
| OKLCH | oklch(44.89% 0.141 265.7) |
| XYZ | xyz(10.4160, 8.6607, 35.2982) |
| Luminance | 0.0866 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.29
Cobalt (survey)
#1E488F
ΔE00 3.68
Sapphire
#0F52BA
ΔE00 3.79
Dusk Blue
#26538D
ΔE00 4.61
Denim Blue
#3B5B92
ΔE00 5.05
Light Navy Blue
#2E5A88
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4EA2 #A2832F
analogous
#2F87A2 #2F4EA2 #492FA2
triadic
#2F4EA2 #A22F4E #4EA22F
tetradic
#2F4EA2 #A22F87 #A2832F #2FA249
square
#2F4EA2 #A22F87 #A2832F #2FA249
split-complementary
#2F4EA2 #A2492F #87A22F
monochromatic
#132043 #213773 #2F4EA2 #4569C9 #758FD7
Accessibility & contrast
On white
7.69
#2F4EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#2F4EA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4EA2
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4EA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4EA2 | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A59A5
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2f4ea2; /* rgb */ color: rgb(47, 78, 162); /* oklch */ color: oklch(44.9% 0.141 265.7);
Tailwind
colors: {
custom: {
50: '#767fbe',
500: '#2f4ea2',
950: '#000000',
},
}SCSS
$custom: #2f4ea2; $custom-light: #767fbe; $custom-dark: #000000;
JSON
{
"hex": "#2f4ea2",
"rgb": {
"r": 47,
"g": 78,
"b": 162
},
"hsl": {
"h": 223.826,
"s": 55.024,
"l": 40.98
},
"oklch": {
"l": 0.44889,
"c": 0.14089,
"h": 265.7
},
"luminance": 0.08662
}Semantic roles & 50–950 ramp
primary
#2F4EA2
secondary
#BFA96E
accent
#B649DE
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81