#2F5899#2F5899
#2F5899 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.5% C 0.116 H 259.3°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5899 |
|---|---|
| RGB | rgb(47, 88, 153) |
| HSL | hsl(217, 53%, 39%) |
| HSV | hsv(217, 69%, 60%) |
| CMYK | cmyk(69.3%, 42.5%, 0%, 40%) |
| CIE-LAB | lab(37.63, 8.06, -39.79) |
| CIE-LCH | lch(37.63, 40.60, 281.44°) |
| OKLab | oklab(46.47% -0.0215 -0.1135) |
| OKLCH | oklch(46.47% 0.116 259.3) |
| XYZ | xyz(10.4097, 9.8826, 31.4898) |
| Luminance | 0.0988 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 1.95
Dusk Blue
#26538D
ΔE00 2.38
Light Navy Blue
#2E5A88
ΔE00 2.97
Dusky Blue
#475F94
ΔE00 4.20
Sapphire
#0F52BA
ΔE00 4.53
Denim (survey)
#3B638C
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5899 #99702F
analogous
#2F8D99 #2F5899 #3B2F99
triadic
#2F5899 #992F58 #58992F
tetradic
#2F5899 #992F8D #99702F #2F993B
square
#2F5899 #992F8D #99702F #2F993B
split-complementary
#2F5899 #993B2F #8D992F
monochromatic
#12223B #213D6A #2F5899 #4174C5 #6F96D3
Accessibility & contrast
On white
7.05
#2F5899 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#2F5899 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5899
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5899 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5899 | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A5E9C
Deuteranopia (green-blind)
#295498
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2f5899; /* rgb */ color: rgb(47, 88, 153); /* oklch */ color: oklch(46.5% 0.116 259.3);
Tailwind
colors: {
custom: {
50: '#7486b7',
500: '#2f5899',
950: '#000000',
},
}SCSS
$custom: #2f5899; $custom-light: #7486b7; $custom-dark: #000000;
JSON
{
"hex": "#2f5899",
"rgb": {
"r": 47,
"g": 88,
"b": 153
},
"hsl": {
"h": 216.792,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.46472,
"c": 0.11557,
"h": 259.3
},
"luminance": 0.09884
}Semantic roles & 50–950 ramp
primary
#2F5899
secondary
#BA9B69
accent
#A44BDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80