#2F5897#2F5897
#2F5897 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.3% C 0.113 H 258.8°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5897 |
|---|---|
| RGB | rgb(47, 88, 151) |
| HSL | hsl(216, 53%, 39%) |
| HSV | hsv(216, 69%, 59%) |
| CMYK | cmyk(68.9%, 41.7%, 0%, 40.8%) |
| CIE-LAB | lab(37.51, 7.31, -38.78) |
| CIE-LCH | lch(37.51, 39.46, 280.67°) |
| OKLab | oklab(46.34% -0.022 -0.1106) |
| OKLCH | oklch(46.34% 0.113 258.8) |
| XYZ | xyz(10.2459, 9.8171, 30.6271) |
| Luminance | 0.0982 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 1.89
Dusk Blue
#26538D
ΔE00 2.20
Light Navy Blue
#2E5A88
ΔE00 2.75
Dusky Blue
#475F94
ΔE00 4.22
Denim (survey)
#3B638C
ΔE00 4.53
Light Navy
#155084
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5897 #976E2F
analogous
#2F8C97 #2F5897 #3A2F97
triadic
#2F5897 #972F58 #58972F
tetradic
#2F5897 #972F8C #976E2F #2F973A
square
#2F5897 #972F8C #976E2F #2F973A
split-complementary
#2F5897 #973A2F #8C972F
monochromatic
#12223A #203D68 #2F5897 #4074C3 #6E96D2
Accessibility & contrast
On white
7.09
#2F5897 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#2F5897 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5897
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5897 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5897 | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B5D99
Deuteranopia (green-blind)
#2B5496
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2f5897; /* rgb */ color: rgb(47, 88, 151); /* oklch */ color: oklch(46.3% 0.113 258.8);
Tailwind
colors: {
custom: {
50: '#7486b6',
500: '#2f5897',
950: '#000000',
},
}SCSS
$custom: #2f5897; $custom-light: #7486b6; $custom-dark: #000000;
JSON
{
"hex": "#2f5897",
"rgb": {
"r": 47,
"g": 88,
"b": 151
},
"hsl": {
"h": 216.346,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.46342,
"c": 0.11273,
"h": 258.8
},
"luminance": 0.09818
}Semantic roles & 50–950 ramp
primary
#2F5897
secondary
#B99968
accent
#A34CDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80