#2F578F#2F578F
#2F578F is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.6% C 0.103 H 257.1°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2F578F |
|---|---|
| RGB | rgb(47, 87, 143) |
| HSL | hsl(215, 51%, 37%) |
| HSV | hsv(215, 67%, 56%) |
| CMYK | cmyk(67.1%, 39.2%, 0%, 43.9%) |
| CIE-LAB | lab(36.75, 4.97, -35.16) |
| CIE-LCH | lch(36.75, 35.51, 278.05°) |
| OKLab | oklab(45.6% -0.0228 -0.1) |
| OKLCH | oklch(45.6% 0.103 257.1) |
| XYZ | xyz(9.5366, 9.4030, 27.2936) |
| Luminance | 0.0940 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.51
Denim Blue
#3B5B92
ΔE00 2.11
Light Navy Blue
#2E5A88
ΔE00 2.15
Light Navy
#155084
ΔE00 3.82
Dusky Blue
#475F94
ΔE00 4.50
Denim (survey)
#3B638C
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F578F #8F672F
analogous
#2F878F #2F578F #372F8F
triadic
#2F578F #8F2F57 #578F2F
tetradic
#2F578F #8F2F87 #8F672F #2F8F37
square
#2F578F #8F2F87 #8F672F #2F8F37
split-complementary
#2F578F #8F372F #878F2F
monochromatic
#111F33 #203B61 #2F578F #3E73BD #6A94CE
Accessibility & contrast
On white
7.29
#2F578F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#2F578F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F578F
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F578F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F578F | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E5B91
Deuteranopia (green-blind)
#30528E
Tritanopia (blue-blind)
#00646C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2f578f; /* rgb */ color: rgb(47, 87, 143); /* oklch */ color: oklch(45.6% 0.103 257.1);
Tailwind
colors: {
custom: {
50: '#7286b0',
500: '#2f578f',
950: '#000000',
},
}SCSS
$custom: #2f578f; $custom-light: #7286b0; $custom-dark: #000000;
JSON
{
"hex": "#2f578f",
"rgb": {
"r": 47,
"g": 87,
"b": 143
},
"hsl": {
"h": 215,
"s": 50.526,
"l": 37.255
},
"oklch": {
"l": 0.45598,
"c": 0.10254,
"h": 257.1
},
"luminance": 0.09404
}Semantic roles & 50–950 ramp
primary
#2F578F
secondary
#B59465
accent
#A04EDA
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B10
muted
#7B7C7F