#2F4AB0#2F4AB0
#2F4AB0 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.165 H 267.8°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4AB0 |
|---|---|
| RGB | rgb(47, 74, 176) |
| HSL | hsl(227, 58%, 44%) |
| HSV | hsv(227, 73%, 69%) |
| CMYK | cmyk(73.3%, 58%, 0%, 31%) |
| CIE-LAB | lab(35.27, 25.97, -57.34) |
| CIE-LCH | lch(35.27, 62.95, 294.37°) |
| OKLab | oklab(45.18% -0.0062 -0.1654) |
| OKLCH | oklch(45.18% 0.165 267.8) |
| XYZ | xyz(11.4548, 8.6353, 42.1290) |
| Luminance | 0.0864 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.32
Blue Blue
#2242C7
ΔE00 4.01
Sapphire
#0F52BA
ΔE00 4.14
Sapphire (survey)
#2138AB
ΔE00 5.43
Cobalt (survey)
#1E488F
ΔE00 5.59
Ocean Blue
#4F42B5
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4AB0 #B0952F
analogous
#2F8AB0 #2F4AB0 #542FB0
triadic
#2F4AB0 #B02F4A #4AB02F
tetradic
#2F4AB0 #B02F8A #B0952F #2FB054
square
#2F4AB0 #B02F8A #B0952F #2FB054
split-complementary
#2F4AB0 #B0542F #8AB02F
monochromatic
#15214F #223680 #2F4AB0 #4D68CF #7D91DC
Accessibility & contrast
On white
7.70
#2F4AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#2F4AB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4AB0
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4AB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4AB0 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2f4ab0; /* rgb */ color: rgb(47, 74, 176); /* oklch */ color: oklch(45.2% 0.165 267.8);
Tailwind
colors: {
custom: {
50: '#7a7cc8',
500: '#2f4ab0',
950: '#000000',
},
}SCSS
$custom: #2f4ab0; $custom-light: #7a7cc8; $custom-dark: #000000;
JSON
{
"hex": "#2f4ab0",
"rgb": {
"r": 47,
"g": 74,
"b": 176
},
"hsl": {
"h": 227.442,
"s": 57.848,
"l": 43.725
},
"oklch": {
"l": 0.4518,
"c": 0.16549,
"h": 267.8
},
"luminance": 0.08636
}Semantic roles & 50–950 ramp
primary
#2F4AB0
secondary
#C5B476
accent
#C147E1
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82