#2F4BB1#2F4BB1
#2F4BB1 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.5% C 0.166 H 267.6°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4BB1 |
|---|---|
| RGB | rgb(47, 75, 177) |
| HSL | hsl(227, 58%, 44%) |
| HSV | hsv(227, 73%, 69%) |
| CMYK | cmyk(73.4%, 57.6%, 0%, 30.6%) |
| CIE-LAB | lab(35.62, 25.69, -57.37) |
| CIE-LCH | lch(35.62, 62.86, 294.12°) |
| OKLab | oklab(45.46% -0.0069 -0.1655) |
| OKLCH | oklch(45.46% 0.166 267.6) |
| XYZ | xyz(11.6214, 8.8096, 42.6744) |
| Luminance | 0.0881 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.35
Sapphire
#0F52BA
ΔE00 3.86
Blue Blue
#2242C7
ΔE00 4.12
Cobalt (survey)
#1E488F
ΔE00 5.64
Sapphire (survey)
#2138AB
ΔE00 5.75
Blue (survey)
#0343DF
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4BB1 #B1952F
analogous
#2F8CB1 #2F4BB1 #542FB1
triadic
#2F4BB1 #B12F4B #4BB12F
tetradic
#2F4BB1 #B12F8C #B1952F #2FB154
square
#2F4BB1 #B12F8C #B1952F #2FB154
split-complementary
#2F4BB1 #B1542F #8CB12F
monochromatic
#152250 #223781 #2F4BB1 #4D69D0 #7E92DD
Accessibility & contrast
On white
7.60
#2F4BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#2F4BB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4BB1
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4BB1 | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2f4bb1; /* rgb */ color: rgb(47, 75, 177); /* oklch */ color: oklch(45.5% 0.166 267.6);
Tailwind
colors: {
custom: {
50: '#7a7cc9',
500: '#2f4bb1',
950: '#000000',
},
}SCSS
$custom: #2f4bb1; $custom-light: #7a7cc9; $custom-dark: #000000;
JSON
{
"hex": "#2f4bb1",
"rgb": {
"r": 47,
"g": 75,
"b": 177
},
"hsl": {
"h": 227.077,
"s": 58.036,
"l": 43.922
},
"oklch": {
"l": 0.45461,
"c": 0.16561,
"h": 267.6
},
"luminance": 0.08811
}Semantic roles & 50–950 ramp
primary
#2F4BB1
secondary
#C5B476
accent
#C047E1
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82