#2F4BB7#2F4BB7
#2F4BB7 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.174 H 267.8°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4BB7 |
|---|---|
| RGB | rgb(47, 75, 183) |
| HSL | hsl(228, 59%, 45%) |
| HSV | hsv(228, 74%, 72%) |
| CMYK | cmyk(74.3%, 59%, 0%, 28.2%) |
| CIE-LAB | lab(36.09, 27.92, -60.15) |
| CIE-LCH | lch(36.09, 66.31, 294.90°) |
| OKLab | oklab(45.96% -0.0068 -0.1736) |
| OKLCH | oklch(45.96% 0.174 267.8) |
| XYZ | xyz(12.2326, 9.0541, 45.8935) |
| Luminance | 0.0906 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.49
Cobalt
#0047AB
ΔE00 3.83
Sapphire
#0F52BA
ΔE00 3.94
Blue (survey)
#0343DF
ΔE00 5.40
Sapphire (survey)
#2138AB
ΔE00 5.80
Ocean Blue
#4F42B5
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4BB7 #B79B2F
analogous
#2F8FB7 #2F4BB7 #572FB7
triadic
#2F4BB7 #B72F4B #4BB72F
tetradic
#2F4BB7 #B72F8F #B79B2F #2FB757
square
#2F4BB7 #B72F8F #B79B2F #2FB757
split-complementary
#2F4BB7 #B7572F #8FB72F
monochromatic
#162356 #223786 #2F4BB7 #516CD2 #8295DF
Accessibility & contrast
On white
7.47
#2F4BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#2F4BB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4BB7
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4BB7 | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#004FB5
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2f4bb7; /* rgb */ color: rgb(47, 75, 183); /* oklch */ color: oklch(46.0% 0.174 267.8);
Tailwind
colors: {
custom: {
50: '#7b7dcd',
500: '#2f4bb7',
950: '#000000',
},
}SCSS
$custom: #2f4bb7; $custom-light: #7b7dcd; $custom-dark: #000000;
JSON
{
"hex": "#2f4bb7",
"rgb": {
"r": 47,
"g": 75,
"b": 183
},
"hsl": {
"h": 227.647,
"s": 59.13,
"l": 45.098
},
"oklch": {
"l": 0.45963,
"c": 0.17374,
"h": 267.8
},
"luminance": 0.09055
}Semantic roles & 50–950 ramp
primary
#2F4BB7
secondary
#C8B87A
accent
#C245E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82