#2F4BB3#2F4BB3
#2F4BB3 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.168 H 267.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4BB3 |
|---|---|
| RGB | rgb(47, 75, 179) |
| HSL | hsl(227, 58%, 44%) |
| HSV | hsv(227, 74%, 70%) |
| CMYK | cmyk(73.7%, 58.1%, 0%, 29.8%) |
| CIE-LAB | lab(35.77, 26.43, -58.30) |
| CIE-LCH | lch(35.77, 64.01, 294.39°) |
| OKLab | oklab(45.63% -0.0069 -0.1682) |
| OKLCH | oklch(45.63% 0.168 267.7) |
| XYZ | xyz(11.8222, 8.8899, 43.7320) |
| Luminance | 0.0889 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.50
Sapphire
#0F52BA
ΔE00 3.87
Blue Blue
#2242C7
ΔE00 3.90
Sapphire (survey)
#2138AB
ΔE00 5.75
Cobalt (survey)
#1E488F
ΔE00 5.90
Blue (survey)
#0343DF
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4BB3 #B3972F
analogous
#2F8DB3 #2F4BB3 #552FB3
triadic
#2F4BB3 #B32F4B #4BB32F
tetradic
#2F4BB3 #B32F8D #B3972F #2FB355
square
#2F4BB3 #B32F8D #B3972F #2FB355
split-complementary
#2F4BB3 #B3552F #8DB32F
monochromatic
#162252 #223783 #2F4BB3 #4F6AD1 #7F93DD
Accessibility & contrast
On white
7.56
#2F4BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#2F4BB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4BB3
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4BB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4BB3 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2f4bb3; /* rgb */ color: rgb(47, 75, 179); /* oklch */ color: oklch(45.6% 0.168 267.7);
Tailwind
colors: {
custom: {
50: '#7a7ccb',
500: '#2f4bb3',
950: '#000000',
},
}SCSS
$custom: #2f4bb3; $custom-light: #7a7ccb; $custom-dark: #000000;
JSON
{
"hex": "#2f4bb3",
"rgb": {
"r": 47,
"g": 75,
"b": 179
},
"hsl": {
"h": 227.273,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.45627,
"c": 0.16833,
"h": 267.7
},
"luminance": 0.08891
}Semantic roles & 50–950 ramp
primary
#2F4BB3
secondary
#C6B678
accent
#C146E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82