#2F4BA1#2F4BA1
#2F4BA1 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.2% C 0.143 H 266.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4BA1 |
|---|---|
| RGB | rgb(47, 75, 161) |
| HSL | hsl(225, 55%, 41%) |
| HSV | hsv(225, 71%, 63%) |
| CMYK | cmyk(70.8%, 53.4%, 0%, 36.9%) |
| CIE-LAB | lab(34.41, 19.68, -49.77) |
| CIE-LCH | lch(34.41, 53.52, 291.57°) |
| OKLab | oklab(44.18% -0.0079 -0.1431) |
| OKLCH | oklch(44.18% 0.143 266.8) |
| XYZ | xyz(10.1192, 8.2087, 34.7624) |
| Luminance | 0.0821 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.07
Cobalt (survey)
#1E488F
ΔE00 3.60
Sapphire
#0F52BA
ΔE00 4.47
Dusk Blue
#26538D
ΔE00 5.32
Denim Blue
#3B5B92
ΔE00 5.94
Blue Blue
#2242C7
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4BA1 #A1852F
analogous
#2F84A1 #2F4BA1 #4C2FA1
triadic
#2F4BA1 #A12F4B #4BA12F
tetradic
#2F4BA1 #A12F84 #A1852F #2FA14C
square
#2F4BA1 #A12F84 #A1852F #2FA14C
split-complementary
#2F4BA1 #A14C2F #84A12F
monochromatic
#131F42 #213572 #2F4BA1 #4565C9 #748CD6
Accessibility & contrast
On white
7.95
#2F4BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2F4BA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4BA1
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4BA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4BA1 | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1056A4
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2f4ba1; /* rgb */ color: rgb(47, 75, 161); /* oklch */ color: oklch(44.2% 0.143 266.8);
Tailwind
colors: {
custom: {
50: '#767cbd',
500: '#2f4ba1',
950: '#000000',
},
}SCSS
$custom: #2f4ba1; $custom-light: #767cbd; $custom-dark: #000000;
JSON
{
"hex": "#2f4ba1",
"rgb": {
"r": 47,
"g": 75,
"b": 161
},
"hsl": {
"h": 225.263,
"s": 54.808,
"l": 40.784
},
"oklch": {
"l": 0.44178,
"c": 0.14333,
"h": 266.8
},
"luminance": 0.0821
}Semantic roles & 50–950 ramp
primary
#2F4BA1
secondary
#BEAA6E
accent
#BA4ADE
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81