#2F5CB9#2F5CB9
#2F5CB9 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.6% C 0.155 H 262.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5CB9 |
|---|---|
| RGB | rgb(47, 92, 185) |
| HSL | hsl(220, 59%, 45%) |
| HSV | hsv(220, 75%, 73%) |
| CMYK | cmyk(74.6%, 50.3%, 0%, 27.5%) |
| CIE-LAB | lab(40.83, 17.53, -53.63) |
| CIE-LCH | lch(40.83, 56.42, 288.10°) |
| OKLab | oklab(49.59% -0.0198 -0.1542) |
| OKLCH | oklch(49.59% 0.155 262.7) |
| XYZ | xyz(13.7533, 11.7599, 47.4346) |
| Luminance | 0.1176 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.93
Sapphire
#0F52BA
ΔE00 3.42
Denim Blue
#3B5B92
ΔE00 4.89
French Blue
#436BAD
ΔE00 5.29
Dusky Blue
#475F94
ΔE00 5.64
Denim (survey)
#3B638C
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5CB9 #B98C2F
analogous
#2FA1B9 #2F5CB9 #472FB9
triadic
#2F5CB9 #B92F5C #5CB92F
tetradic
#2F5CB9 #B92FA1 #B98C2F #2FB947
square
#2F5CB9 #B92FA1 #B98C2F #2FB947
split-complementary
#2F5CB9 #B9472F #A1B92F
monochromatic
#162B57 #234488 #2F5CB9 #527CD3 #83A1DF
Accessibility & contrast
On white
6.26
#2F5CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#2F5CB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5CB9
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5CB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5CB9 | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2467BC
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2f5cb9; /* rgb */ color: rgb(47, 92, 185); /* oklch */ color: oklch(49.6% 0.155 262.7);
Tailwind
colors: {
custom: {
50: '#7a89cf',
500: '#2f5cb9',
950: '#000000',
},
}SCSS
$custom: #2f5cb9; $custom-light: #7a89cf; $custom-dark: #000000;
JSON
{
"hex": "#2f5cb9",
"rgb": {
"r": 47,
"g": 92,
"b": 185
},
"hsl": {
"h": 220.435,
"s": 59.483,
"l": 45.49
},
"oklch": {
"l": 0.49591,
"c": 0.15542,
"h": 262.7
},
"luminance": 0.11761
}Semantic roles & 50–950 ramp
primary
#2F5CB9
secondary
#C9AF7B
accent
#AF45E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82