#2F5CB2#2F5CB2
#2F5CB2 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.1% C 0.146 H 261.8°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5CB2 |
|---|---|
| RGB | rgb(47, 92, 178) |
| HSL | hsl(219, 58%, 44%) |
| HSV | hsv(219, 74%, 70%) |
| CMYK | cmyk(73.6%, 48.3%, 0%, 30.2%) |
| CIE-LAB | lab(40.36, 14.88, -50.28) |
| CIE-LCH | lch(40.36, 52.43, 286.49°) |
| OKLab | oklab(49.08% -0.0207 -0.1443) |
| OKLCH | oklch(49.08% 0.146 261.8) |
| XYZ | xyz(13.0324, 11.4716, 43.6382) |
| Luminance | 0.1147 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.81
Sapphire
#0F52BA
ΔE00 3.51
Denim Blue
#3B5B92
ΔE00 4.09
Dusky Blue
#475F94
ΔE00 5.06
French Blue
#436BAD
ΔE00 5.17
Denim (survey)
#3B638C
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5CB2 #B2852F
analogous
#2F9EB2 #2F5CB2 #442FB2
triadic
#2F5CB2 #B22F5C #5CB22F
tetradic
#2F5CB2 #B22F9E #B2852F #2FB244
square
#2F5CB2 #B22F9E #B2852F #2FB244
split-complementary
#2F5CB2 #B2442F #9EB22F
monochromatic
#152A51 #224382 #2F5CB2 #4E7BD0 #7E9FDD
Accessibility & contrast
On white
6.37
#2F5CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#2F5CB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5CB2
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5CB2 | 1.00 | 6.37 | 3.29 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D66B5
Deuteranopia (green-blind)
#0359B0
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2f5cb2; /* rgb */ color: rgb(47, 92, 178); /* oklch */ color: oklch(49.1% 0.146 261.8);
Tailwind
colors: {
custom: {
50: '#7989ca',
500: '#2f5cb2',
950: '#000000',
},
}SCSS
$custom: #2f5cb2; $custom-light: #7989ca; $custom-dark: #000000;
JSON
{
"hex": "#2f5cb2",
"rgb": {
"r": 47,
"g": 92,
"b": 178
},
"hsl": {
"h": 219.389,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.49084,
"c": 0.14578,
"h": 261.8
},
"luminance": 0.11473
}Semantic roles & 50–950 ramp
primary
#2F5CB2
secondary
#C6AB77
accent
#AC46E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82