#2F5CB5#2F5CB5
#2F5CB5 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.3% C 0.150 H 262.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5CB5 |
|---|---|
| RGB | rgb(47, 92, 181) |
| HSL | hsl(220, 59%, 45%) |
| HSV | hsv(220, 74%, 71%) |
| CMYK | cmyk(74%, 49.2%, 0%, 29%) |
| CIE-LAB | lab(40.56, 16.02, -51.72) |
| CIE-LCH | lch(40.56, 54.14, 287.21°) |
| OKLab | oklab(49.3% -0.0203 -0.1485) |
| OKLCH | oklch(49.3% 0.15 262.2) |
| XYZ | xyz(13.3369, 11.5934, 45.2420) |
| Luminance | 0.1159 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.83
Sapphire
#0F52BA
ΔE00 3.44
Denim Blue
#3B5B92
ΔE00 4.43
French Blue
#436BAD
ΔE00 5.20
Dusky Blue
#475F94
ΔE00 5.30
Denim (survey)
#3B638C
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5CB5 #B5882F
analogous
#2F9FB5 #2F5CB5 #452FB5
triadic
#2F5CB5 #B52F5C #5CB52F
tetradic
#2F5CB5 #B52F9F #B5882F #2FB545
square
#2F5CB5 #B52F9F #B5882F #2FB545
split-complementary
#2F5CB5 #B5452F #9FB52F
monochromatic
#162B54 #224384 #2F5CB5 #507BD1 #80A0DE
Accessibility & contrast
On white
6.33
#2F5CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#2F5CB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5CB5
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5CB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5CB5 | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2966B8
Deuteranopia (green-blind)
#005AB3
Tritanopia (blue-blind)
#007180
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2f5cb5; /* rgb */ color: rgb(47, 92, 181); /* oklch */ color: oklch(49.3% 0.150 262.2);
Tailwind
colors: {
custom: {
50: '#7a89cc',
500: '#2f5cb5',
950: '#000000',
},
}SCSS
$custom: #2f5cb5; $custom-light: #7a89cc; $custom-dark: #000000;
JSON
{
"hex": "#2f5cb5",
"rgb": {
"r": 47,
"g": 92,
"b": 181
},
"hsl": {
"h": 219.851,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.49299,
"c": 0.14993,
"h": 262.2
},
"luminance": 0.11595
}Semantic roles & 50–950 ramp
primary
#2F5CB5
secondary
#C7AD79
accent
#AE46E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B13
muted
#7C7C82