#2F4BA0#2F4BA0
#2F4BA0 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.1% C 0.142 H 266.8°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4BA0 |
|---|---|
| RGB | rgb(47, 75, 160) |
| HSL | hsl(225, 55%, 41%) |
| HSV | hsv(225, 71%, 63%) |
| CMYK | cmyk(70.6%, 53.1%, 0%, 37.3%) |
| CIE-LAB | lab(34.34, 19.30, -49.29) |
| CIE-LCH | lch(34.34, 52.93, 291.38°) |
| OKLab | oklab(44.1% -0.008 -0.1417) |
| OKLCH | oklch(44.1% 0.142 266.8) |
| XYZ | xyz(10.0313, 8.1735, 34.2999) |
| Luminance | 0.0818 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.11
Cobalt (survey)
#1E488F
ΔE00 3.48
Sapphire
#0F52BA
ΔE00 4.54
Dusk Blue
#26538D
ΔE00 5.23
Denim Blue
#3B5B92
ΔE00 5.89
Blueberry
#464196
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4BA0 #A0842F
analogous
#2F83A0 #2F4BA0 #4C2FA0
triadic
#2F4BA0 #A02F4B #4BA02F
tetradic
#2F4BA0 #A02F83 #A0842F #2FA04C
square
#2F4BA0 #A02F83 #A0842F #2FA04C
split-complementary
#2F4BA0 #A04C2F #83A02F
monochromatic
#131F41 #213571 #2F4BA0 #4465C8 #738CD6
Accessibility & contrast
On white
7.97
#2F4BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2F4BA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4BA0
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4BA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4BA0 | 1.00 | 7.97 | 2.64 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1356A3
Deuteranopia (green-blind)
#004C9E
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2f4ba0; /* rgb */ color: rgb(47, 75, 160); /* oklch */ color: oklch(44.1% 0.142 266.8);
Tailwind
colors: {
custom: {
50: '#767cbd',
500: '#2f4ba0',
950: '#000000',
},
}SCSS
$custom: #2f4ba0; $custom-light: #767cbd; $custom-dark: #000000;
JSON
{
"hex": "#2f4ba0",
"rgb": {
"r": 47,
"g": 75,
"b": 160
},
"hsl": {
"h": 225.133,
"s": 54.589,
"l": 40.588
},
"oklch": {
"l": 0.441,
"c": 0.14191,
"h": 266.8
},
"luminance": 0.08175
}Semantic roles & 50–950 ramp
primary
#2F4BA0
secondary
#BEAA6D
accent
#B94ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0912
muted
#7C7B81