#2F5CB6#2F5CB6
#2F5CB6 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.4% C 0.151 H 262.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5CB6 |
|---|---|
| RGB | rgb(47, 92, 182) |
| HSL | hsl(220, 59%, 45%) |
| HSV | hsv(220, 74%, 71%) |
| CMYK | cmyk(74.2%, 49.5%, 0%, 28.6%) |
| CIE-LAB | lab(40.63, 16.40, -52.20) |
| CIE-LCH | lch(40.63, 54.71, 287.44°) |
| OKLab | oklab(49.37% -0.0202 -0.15) |
| OKLCH | oklch(49.37% 0.151 262.3) |
| XYZ | xyz(13.4399, 11.6346, 45.7843) |
| Luminance | 0.1164 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.85
Sapphire
#0F52BA
ΔE00 3.43
Denim Blue
#3B5B92
ΔE00 4.54
French Blue
#436BAD
ΔE00 5.22
Dusky Blue
#475F94
ΔE00 5.38
Denim (survey)
#3B638C
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5CB6 #B6892F
analogous
#2FA0B6 #2F5CB6 #462FB6
triadic
#2F5CB6 #B62F5C #5CB62F
tetradic
#2F5CB6 #B62FA0 #B6892F #2FB646
square
#2F5CB6 #B62FA0 #B6892F #2FB646
split-complementary
#2F5CB6 #B6462F #A0B62F
monochromatic
#162B55 #224385 #2F5CB6 #507CD2 #81A0DE
Accessibility & contrast
On white
6.31
#2F5CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#2F5CB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5CB6
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5CB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5CB6 | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2866B9
Deuteranopia (green-blind)
#005AB4
Tritanopia (blue-blind)
#007180
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2f5cb6; /* rgb */ color: rgb(47, 92, 182); /* oklch */ color: oklch(49.4% 0.151 262.3);
Tailwind
colors: {
custom: {
50: '#7a89cc',
500: '#2f5cb6',
950: '#000000',
},
}SCSS
$custom: #2f5cb6; $custom-light: #7a89cc; $custom-dark: #000000;
JSON
{
"hex": "#2f5cb6",
"rgb": {
"r": 47,
"g": 92,
"b": 182
},
"hsl": {
"h": 220,
"s": 58.952,
"l": 44.902
},
"oklch": {
"l": 0.49372,
"c": 0.15131,
"h": 262.3
},
"luminance": 0.11636
}Semantic roles & 50–950 ramp
primary
#2F5CB6
secondary
#C7AD79
accent
#AE46E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B13
muted
#7C7C82