#2F5791#2F5791
#2F5791 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 45.7% C 0.105 H 257.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5791 |
|---|---|
| RGB | rgb(47, 87, 145) |
| HSL | hsl(216, 51%, 38%) |
| HSV | hsv(216, 68%, 57%) |
| CMYK | cmyk(67.6%, 40%, 0%, 43.1%) |
| CIE-LAB | lab(36.86, 5.72, -36.19) |
| CIE-LCH | lch(36.86, 36.64, 278.98°) |
| OKLab | oklab(45.72% -0.0223 -0.103) |
| OKLCH | oklch(45.72% 0.105 257.8) |
| XYZ | xyz(9.6895, 9.4641, 28.0987) |
| Luminance | 0.0946 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.60
Denim Blue
#3B5B92
ΔE00 2.02
Light Navy Blue
#2E5A88
ΔE00 2.36
Light Navy
#155084
ΔE00 4.00
Dusky Blue
#475F94
ΔE00 4.41
Denim (survey)
#3B638C
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5791 #91692F
analogous
#2F8891 #2F5791 #382F91
triadic
#2F5791 #912F57 #57912F
tetradic
#2F5791 #912F88 #91692F #2F9138
square
#2F5791 #912F88 #91692F #2F9138
split-complementary
#2F5791 #91382F #88912F
monochromatic
#112035 #203B63 #2F5791 #3E73BF #6B94CF
Accessibility & contrast
On white
7.26
#2F5791 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#2F5791 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5791
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5791 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5791 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D5C93
Deuteranopia (green-blind)
#2F5390
Tritanopia (blue-blind)
#00646D
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2f5791; /* rgb */ color: rgb(47, 87, 145); /* oklch */ color: oklch(45.7% 0.105 257.8);
Tailwind
colors: {
custom: {
50: '#7286b1',
500: '#2f5791',
950: '#000000',
},
}SCSS
$custom: #2f5791; $custom-light: #7286b1; $custom-dark: #000000;
JSON
{
"hex": "#2f5791",
"rgb": {
"r": 47,
"g": 87,
"b": 145
},
"hsl": {
"h": 215.51,
"s": 51.042,
"l": 37.647
},
"oklch": {
"l": 0.45724,
"c": 0.10538,
"h": 257.8
},
"luminance": 0.09465
}Semantic roles & 50–950 ramp
primary
#2F5791
secondary
#B69565
accent
#A14DDB
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B11
muted
#7B7C80