#2F5388#2F5388
#2F5388 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.2% C 0.097 H 258.0°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5388 |
|---|---|
| RGB | rgb(47, 83, 136) |
| HSL | hsl(216, 49%, 36%) |
| HSV | hsv(216, 65%, 53%) |
| CMYK | cmyk(65.4%, 39%, 0%, 46.7%) |
| CIE-LAB | lab(35.14, 4.98, -33.45) |
| CIE-LCH | lch(35.14, 33.82, 278.47°) |
| OKLab | oklab(44.22% -0.0202 -0.095) |
| OKLCH | oklch(44.22% 0.097 258) |
| XYZ | xyz(8.7079, 8.5676, 24.4826) |
| Luminance | 0.0857 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.35
Denim Blue
#3B5B92
ΔE00 3.05
Light Navy Blue
#2E5A88
ΔE00 3.09
Light Navy
#155084
ΔE00 3.46
Cobalt (survey)
#1E488F
ΔE00 3.85
Dusky Blue
#475F94
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5388 #88642F
analogous
#2F7F88 #2F5388 #372F88
triadic
#2F5388 #882F53 #53882F
tetradic
#2F5388 #882F7F #88642F #2F8837
square
#2F5388 #882F7F #88642F #2F8837
split-complementary
#2F5388 #88372F #7F882F
monochromatic
#101B2D #1F375B #2F5388 #3F6FB5 #678FCA
Accessibility & contrast
On white
7.74
#2F5388 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#2F5388 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5388
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5388 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5388 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C578A
Deuteranopia (green-blind)
#2F4F87
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2f5388; /* rgb */ color: rgb(47, 83, 136); /* oklch */ color: oklch(44.2% 0.097 258.0);
Tailwind
colors: {
custom: {
50: '#7183ab',
500: '#2f5388',
950: '#000000',
},
}SCSS
$custom: #2f5388; $custom-light: #7183ab; $custom-dark: #000000;
JSON
{
"hex": "#2f5388",
"rgb": {
"r": 47,
"g": 83,
"b": 136
},
"hsl": {
"h": 215.73,
"s": 48.634,
"l": 35.882
},
"oklch": {
"l": 0.44216,
"c": 0.09715,
"h": 258
},
"luminance": 0.08568
}Semantic roles & 50–950 ramp
primary
#2F5388
secondary
#B19161
accent
#A150D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F