#2F5CB0#2F5CB0
#2F5CB0 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.9% C 0.143 H 261.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5CB0 |
|---|---|
| RGB | rgb(47, 92, 176) |
| HSL | hsl(219, 58%, 44%) |
| HSV | hsv(219, 73%, 69%) |
| CMYK | cmyk(73.3%, 47.7%, 0%, 31%) |
| CIE-LAB | lab(40.23, 14.13, -49.31) |
| CIE-LCH | lch(40.23, 51.30, 285.98°) |
| OKLab | oklab(48.94% -0.021 -0.1415) |
| OKLCH | oklch(48.94% 0.143 261.5) |
| XYZ | xyz(12.8331, 11.3918, 42.5884) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.83
Sapphire
#0F52BA
ΔE00 3.58
Denim Blue
#3B5B92
ΔE00 3.87
Dusky Blue
#475F94
ΔE00 4.92
Denim (survey)
#3B638C
ΔE00 5.07
Light Navy Blue
#2E5A88
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5CB0 #B0832F
analogous
#2F9CB0 #2F5CB0 #422FB0
triadic
#2F5CB0 #B02F5C #5CB02F
tetradic
#2F5CB0 #B02F9C #B0832F #2FB042
square
#2F5CB0 #B02F9C #B0832F #2FB042
split-complementary
#2F5CB0 #B0422F #9CB02F
monochromatic
#152A4F #224380 #2F5CB0 #4D7ACF #7D9EDC
Accessibility & contrast
On white
6.41
#2F5CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#2F5CB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5CB0
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5CB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5CB0 | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F65B3
Deuteranopia (green-blind)
#0C59AE
Tritanopia (blue-blind)
#00707D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2f5cb0; /* rgb */ color: rgb(47, 92, 176); /* oklch */ color: oklch(48.9% 0.143 261.5);
Tailwind
colors: {
custom: {
50: '#7989c8',
500: '#2f5cb0',
950: '#000000',
},
}SCSS
$custom: #2f5cb0; $custom-light: #7989c8; $custom-dark: #000000;
JSON
{
"hex": "#2f5cb0",
"rgb": {
"r": 47,
"g": 92,
"b": 176
},
"hsl": {
"h": 219.07,
"s": 57.848,
"l": 43.725
},
"oklch": {
"l": 0.48941,
"c": 0.14302,
"h": 261.5
},
"luminance": 0.11393
}Semantic roles & 50–950 ramp
primary
#2F5CB0
secondary
#C5A976
accent
#AB47E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82