#2F4EA3#2F4EA3
#2F4EA3 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 45.0% C 0.142 H 265.8°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4EA3 |
|---|---|
| RGB | rgb(47, 78, 163) |
| HSL | hsl(224, 55%, 41%) |
| HSV | hsv(224, 71%, 64%) |
| CMYK | cmyk(71.2%, 52.1%, 0%, 36.1%) |
| CIE-LAB | lab(35.39, 18.43, -49.39) |
| CIE-LCH | lch(35.39, 52.72, 290.46°) |
| OKLab | oklab(44.97% -0.0104 -0.1419) |
| OKLCH | oklch(44.97% 0.142 265.8) |
| XYZ | xyz(10.5052, 8.6964, 35.7682) |
| Luminance | 0.0870 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.26
Sapphire
#0F52BA
ΔE00 3.71
Cobalt (survey)
#1E488F
ΔE00 3.79
Dusk Blue
#26538D
ΔE00 4.71
Denim Blue
#3B5B92
ΔE00 5.11
Light Navy Blue
#2E5A88
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4EA3 #A3842F
analogous
#2F88A3 #2F4EA3 #4A2FA3
triadic
#2F4EA3 #A32F4E #4EA32F
tetradic
#2F4EA3 #A32F88 #A3842F #2FA34A
square
#2F4EA3 #A32F88 #A3842F #2FA34A
split-complementary
#2F4EA3 #A34A2F #88A32F
monochromatic
#142144 #213773 #2F4EA3 #4669CA #758FD7
Accessibility & contrast
On white
7.67
#2F4EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2F4EA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4EA3
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4EA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4EA3 | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1959A6
Deuteranopia (green-blind)
#004EA1
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2f4ea3; /* rgb */ color: rgb(47, 78, 163); /* oklch */ color: oklch(45.0% 0.142 265.8);
Tailwind
colors: {
custom: {
50: '#767fbf',
500: '#2f4ea3',
950: '#000000',
},
}SCSS
$custom: #2f4ea3; $custom-light: #767fbf; $custom-dark: #000000;
JSON
{
"hex": "#2f4ea3",
"rgb": {
"r": 47,
"g": 78,
"b": 163
},
"hsl": {
"h": 223.966,
"s": 55.238,
"l": 41.176
},
"oklch": {
"l": 0.44965,
"c": 0.14231,
"h": 265.8
},
"luminance": 0.08697
}Semantic roles & 50–950 ramp
primary
#2F4EA3
secondary
#BFAA6F
accent
#B749DF
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81