#2F4BB8#2F4BB8
#2F4BB8 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.175 H 267.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4BB8 |
|---|---|
| RGB | rgb(47, 75, 184) |
| HSL | hsl(228, 59%, 45%) |
| HSV | hsv(228, 74%, 72%) |
| CMYK | cmyk(74.5%, 59.2%, 0%, 27.8%) |
| CIE-LAB | lab(36.17, 28.30, -60.61) |
| CIE-LCH | lch(36.17, 66.89, 295.03°) |
| OKLab | oklab(46.05% -0.0067 -0.175) |
| OKLCH | oklch(46.05% 0.175 267.8) |
| XYZ | xyz(12.3371, 9.0959, 46.4436) |
| Luminance | 0.0910 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.40
Cobalt
#0047AB
ΔE00 3.93
Sapphire
#0F52BA
ΔE00 3.97
Blue (survey)
#0343DF
ΔE00 5.28
Sapphire (survey)
#2138AB
ΔE00 5.82
Ocean Blue
#4F42B5
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4BB8 #B89C2F
analogous
#2F8FB8 #2F4BB8 #572FB8
triadic
#2F4BB8 #B82F4B #4BB82F
tetradic
#2F4BB8 #B82F8F #B89C2F #2FB857
square
#2F4BB8 #B82F8F #B89C2F #2FB857
split-complementary
#2F4BB8 #B8572F #8FB82F
monochromatic
#162357 #233787 #2F4BB8 #526CD3 #8295DF
Accessibility & contrast
On white
7.45
#2F4BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#2F4BB8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4BB8
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4BB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4BB8 | 1.00 | 7.45 | 2.82 | 7.45 |
| #FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#004FB6
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2f4bb8; /* rgb */ color: rgb(47, 75, 184); /* oklch */ color: oklch(46.0% 0.175 267.8);
Tailwind
colors: {
custom: {
50: '#7b7dce',
500: '#2f4bb8',
950: '#000000',
},
}SCSS
$custom: #2f4bb8; $custom-light: #7b7dce; $custom-dark: #000000;
JSON
{
"hex": "#2f4bb8",
"rgb": {
"r": 47,
"g": 75,
"b": 184
},
"hsl": {
"h": 227.737,
"s": 59.307,
"l": 45.294
},
"oklch": {
"l": 0.46048,
"c": 0.17509,
"h": 267.8
},
"luminance": 0.09097
}Semantic roles & 50–950 ramp
primary
#2F4BB8
secondary
#C8B87B
accent
#C245E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82