#2F4CA8#2F4CA8
#2F4CA8 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.9% C 0.152 H 266.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4CA8 |
|---|---|
| RGB | rgb(47, 76, 168) |
| HSL | hsl(226, 56%, 42%) |
| HSV | hsv(226, 72%, 66%) |
| CMYK | cmyk(72%, 54.8%, 0%, 34.1%) |
| CIE-LAB | lab(35.20, 21.65, -52.69) |
| CIE-LCH | lch(35.20, 56.96, 292.33°) |
| OKLab | oklab(44.94% -0.0082 -0.1517) |
| OKLCH | oklch(44.94% 0.152 266.9) |
| XYZ | xyz(10.8222, 8.5993, 38.1277) |
| Luminance | 0.0860 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.01
Sapphire
#0F52BA
ΔE00 3.81
Cobalt (survey)
#1E488F
ΔE00 4.41
Blue Blue
#2242C7
ΔE00 5.44
Dusk Blue
#26538D
ΔE00 5.72
Denim Blue
#3B5B92
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4CA8 #A88B2F
analogous
#2F89A8 #2F4CA8 #4F2FA8
triadic
#2F4CA8 #A82F4C #4CA82F
tetradic
#2F4CA8 #A82F89 #A88B2F #2FA84F
square
#2F4CA8 #A82F89 #A88B2F #2FA84F
split-complementary
#2F4CA8 #A84F2F #89A82F
monochromatic
#142148 #223678 #2F4CA8 #4868CC #788FD9
Accessibility & contrast
On white
7.72
#2F4CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#2F4CA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4CA8
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4CA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4CA8 | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0159AB
Deuteranopia (green-blind)
#004DA6
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2f4ca8; /* rgb */ color: rgb(47, 76, 168); /* oklch */ color: oklch(44.9% 0.152 266.9);
Tailwind
colors: {
custom: {
50: '#787dc3',
500: '#2f4ca8',
950: '#000000',
},
}SCSS
$custom: #2f4ca8; $custom-light: #787dc3; $custom-dark: #000000;
JSON
{
"hex": "#2f4ca8",
"rgb": {
"r": 47,
"g": 76,
"b": 168
},
"hsl": {
"h": 225.62,
"s": 56.279,
"l": 42.157
},
"oklch": {
"l": 0.44935,
"c": 0.1519,
"h": 266.9
},
"luminance": 0.086
}Semantic roles & 50–950 ramp
primary
#2F4CA8
secondary
#C1AE71
accent
#BB48E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81