#2F5790#2F5790
#2F5790 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.7% C 0.104 H 257.5°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5790 |
|---|---|
| RGB | rgb(47, 87, 144) |
| HSL | hsl(215, 51%, 37%) |
| HSV | hsv(215, 67%, 56%) |
| CMYK | cmyk(67.4%, 39.6%, 0%, 43.5%) |
| CIE-LAB | lab(36.81, 5.34, -35.67) |
| CIE-LCH | lch(36.81, 36.07, 278.52°) |
| OKLab | oklab(45.66% -0.0226 -0.1015) |
| OKLCH | oklch(45.66% 0.104 257.5) |
| XYZ | xyz(9.6127, 9.4334, 27.6944) |
| Luminance | 0.0943 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.55
Denim Blue
#3B5B92
ΔE00 2.06
Light Navy Blue
#2E5A88
ΔE00 2.25
Light Navy
#155084
ΔE00 3.91
Dusky Blue
#475F94
ΔE00 4.45
Denim (survey)
#3B638C
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5790 #90682F
analogous
#2F8790 #2F5790 #382F90
triadic
#2F5790 #902F57 #57902F
tetradic
#2F5790 #902F87 #90682F #2F9038
square
#2F5790 #902F87 #90682F #2F9038
split-complementary
#2F5790 #90382F #87902F
monochromatic
#111F34 #203B62 #2F5790 #3E73BE #6B94CF
Accessibility & contrast
On white
7.27
#2F5790 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#2F5790 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5790
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5790 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5790 | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E5C92
Deuteranopia (green-blind)
#2F528F
Tritanopia (blue-blind)
#00646C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2f5790; /* rgb */ color: rgb(47, 87, 144); /* oklch */ color: oklch(45.7% 0.104 257.5);
Tailwind
colors: {
custom: {
50: '#7286b1',
500: '#2f5790',
950: '#000000',
},
}SCSS
$custom: #2f5790; $custom-light: #7286b1; $custom-dark: #000000;
JSON
{
"hex": "#2f5790",
"rgb": {
"r": 47,
"g": 87,
"b": 144
},
"hsl": {
"h": 215.258,
"s": 50.785,
"l": 37.451
},
"oklch": {
"l": 0.45661,
"c": 0.10396,
"h": 257.5
},
"luminance": 0.09434
}Semantic roles & 50–950 ramp
primary
#2F5790
secondary
#B69465
accent
#A04EDA
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B10
muted
#7B7C7F