#2F5CB1#2F5CB1
#2F5CB1 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.0% C 0.144 H 261.7°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5CB1 |
|---|---|
| RGB | rgb(47, 92, 177) |
| HSL | hsl(219, 58%, 44%) |
| HSV | hsv(219, 73%, 69%) |
| CMYK | cmyk(73.4%, 48%, 0%, 30.6%) |
| CIE-LAB | lab(40.30, 14.50, -49.80) |
| CIE-LCH | lch(40.30, 51.86, 286.24°) |
| OKLab | oklab(49.01% -0.0209 -0.1429) |
| OKLCH | oklch(49.01% 0.144 261.7) |
| XYZ | xyz(12.9324, 11.4316, 43.1114) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.82
Sapphire
#0F52BA
ΔE00 3.54
Denim Blue
#3B5B92
ΔE00 3.98
Dusky Blue
#475F94
ΔE00 4.99
Denim (survey)
#3B638C
ΔE00 5.15
French Blue
#436BAD
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5CB1 #B1842F
analogous
#2F9DB1 #2F5CB1 #432FB1
triadic
#2F5CB1 #B12F5C #5CB12F
tetradic
#2F5CB1 #B12F9D #B1842F #2FB143
square
#2F5CB1 #B12F9D #B1842F #2FB143
split-complementary
#2F5CB1 #B1432F #9DB12F
monochromatic
#152A50 #224381 #2F5CB1 #4D7BD0 #7E9FDD
Accessibility & contrast
On white
6.39
#2F5CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#2F5CB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5CB1
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5CB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5CB1 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E65B4
Deuteranopia (green-blind)
#0859AF
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2f5cb1; /* rgb */ color: rgb(47, 92, 177); /* oklch */ color: oklch(49.0% 0.144 261.7);
Tailwind
colors: {
custom: {
50: '#7989c9',
500: '#2f5cb1',
950: '#000000',
},
}SCSS
$custom: #2f5cb1; $custom-light: #7989c9; $custom-dark: #000000;
JSON
{
"hex": "#2f5cb1",
"rgb": {
"r": 47,
"g": 92,
"b": 177
},
"hsl": {
"h": 219.231,
"s": 58.036,
"l": 43.922
},
"oklch": {
"l": 0.49012,
"c": 0.1444,
"h": 261.7
},
"luminance": 0.11433
}Semantic roles & 50–950 ramp
primary
#2F5CB1
secondary
#C5AA76
accent
#AC47E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82