#2F4CB3#2F4CB3
#2F4CB3 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.167 H 267.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4CB3 |
|---|---|
| RGB | rgb(47, 76, 179) |
| HSL | hsl(227, 58%, 44%) |
| HSV | hsv(227, 74%, 70%) |
| CMYK | cmyk(73.7%, 57.5%, 0%, 29.8%) |
| CIE-LAB | lab(36.04, 25.78, -57.87) |
| CIE-LCH | lch(36.04, 63.35, 294.01°) |
| OKLab | oklab(45.83% -0.0076 -0.1669) |
| OKLCH | oklch(45.83% 0.167 267.4) |
| XYZ | xyz(11.8906, 9.0266, 43.7547) |
| Luminance | 0.0903 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.50
Sapphire
#0F52BA
ΔE00 3.59
Blue Blue
#2242C7
ΔE00 4.15
Cobalt (survey)
#1E488F
ΔE00 5.84
Blue (survey)
#0343DF
ΔE00 6.06
Sapphire (survey)
#2138AB
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4CB3 #B3962F
analogous
#2F8EB3 #2F4CB3 #542FB3
triadic
#2F4CB3 #B32F4C #4CB32F
tetradic
#2F4CB3 #B32F8E #B3962F #2FB354
square
#2F4CB3 #B32F8E #B3962F #2FB354
split-complementary
#2F4CB3 #B3542F #8EB32F
monochromatic
#162352 #223783 #2F4CB3 #4F6BD1 #7F94DD
Accessibility & contrast
On white
7.49
#2F4CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#2F4CB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4CB3
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4CB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4CB3 | 1.00 | 7.49 | 2.81 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2f4cb3; /* rgb */ color: rgb(47, 76, 179); /* oklch */ color: oklch(45.8% 0.167 267.4);
Tailwind
colors: {
custom: {
50: '#7a7dcb',
500: '#2f4cb3',
950: '#000000',
},
}SCSS
$custom: #2f4cb3; $custom-light: #7a7dcb; $custom-dark: #000000;
JSON
{
"hex": "#2f4cb3",
"rgb": {
"r": 47,
"g": 76,
"b": 179
},
"hsl": {
"h": 226.818,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.45825,
"c": 0.16708,
"h": 267.4
},
"luminance": 0.09028
}Semantic roles & 50–950 ramp
primary
#2F4CB3
secondary
#C6B578
accent
#BF46E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82