#2F4AB1#2F4AB1
#2F4AB1 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.3% C 0.167 H 267.9°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4AB1 |
|---|---|
| RGB | rgb(47, 74, 177) |
| HSL | hsl(228, 58%, 44%) |
| HSV | hsv(228, 73%, 69%) |
| CMYK | cmyk(73.4%, 58.2%, 0%, 30.6%) |
| CIE-LAB | lab(35.35, 26.35, -57.80) |
| CIE-LCH | lch(35.35, 63.52, 294.50°) |
| OKLab | oklab(45.26% -0.0062 -0.1667) |
| OKLCH | oklch(45.26% 0.167 267.9) |
| XYZ | xyz(11.5541, 8.6750, 42.6520) |
| Luminance | 0.0868 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.38
Blue Blue
#2242C7
ΔE00 3.89
Sapphire
#0F52BA
ΔE00 4.14
Sapphire (survey)
#2138AB
ΔE00 5.42
Cobalt (survey)
#1E488F
ΔE00 5.72
Ocean Blue
#4F42B5
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4AB1 #B1962F
analogous
#2F8BB1 #2F4AB1 #552FB1
triadic
#2F4AB1 #B12F4A #4AB12F
tetradic
#2F4AB1 #B12F8B #B1962F #2FB155
square
#2F4AB1 #B12F8B #B1962F #2FB155
split-complementary
#2F4AB1 #B1552F #8BB12F
monochromatic
#152250 #223681 #2F4AB1 #4D68D0 #7E91DD
Accessibility & contrast
On white
7.68
#2F4AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2F4AB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4AB1
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4AB1 | 1.00 | 7.68 | 2.74 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#004DAF
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2f4ab1; /* rgb */ color: rgb(47, 74, 177); /* oklch */ color: oklch(45.3% 0.167 267.9);
Tailwind
colors: {
custom: {
50: '#7a7cc9',
500: '#2f4ab1',
950: '#000000',
},
}SCSS
$custom: #2f4ab1; $custom-light: #7a7cc9; $custom-dark: #000000;
JSON
{
"hex": "#2f4ab1",
"rgb": {
"r": 47,
"g": 74,
"b": 177
},
"hsl": {
"h": 227.538,
"s": 58.036,
"l": 43.922
},
"oklch": {
"l": 0.45263,
"c": 0.16684,
"h": 267.9
},
"luminance": 0.08676
}Semantic roles & 50–950 ramp
primary
#2F4AB1
secondary
#C5B576
accent
#C147E1
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82