#2F5A97#2F5A97
#2F5A97 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 46.8% C 0.110 H 257.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5A97 |
|---|---|
| RGB | rgb(47, 90, 151) |
| HSL | hsl(215, 53%, 39%) |
| HSV | hsv(215, 69%, 59%) |
| CMYK | cmyk(68.9%, 40.4%, 0%, 40.8%) |
| CIE-LAB | lab(38.11, 6.01, -37.83) |
| CIE-LCH | lch(38.11, 38.30, 279.03°) |
| OKLab | oklab(46.81% -0.024 -0.1077) |
| OKLCH | oklch(46.81% 0.11 257.4) |
| XYZ | xyz(10.4124, 10.1500, 30.6826) |
| Luminance | 0.1015 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 1.93
Light Navy Blue
#2E5A88
ΔE00 2.38
Dusk Blue
#26538D
ΔE00 2.59
Denim (survey)
#3B638C
ΔE00 3.90
Dusky Blue
#475F94
ΔE00 4.18
Light Navy
#155084
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5A97 #976C2F
analogous
#2F8E97 #2F5A97 #382F97
triadic
#2F5A97 #972F5A #5A972F
tetradic
#2F5A97 #972F8E #976C2F #2F9738
square
#2F5A97 #972F8E #976C2F #2F9738
split-complementary
#2F5A97 #97382F #8E972F
monochromatic
#12223A #203E68 #2F5A97 #4076C3 #6E98D2
Accessibility & contrast
On white
6.93
#2F5A97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#2F5A97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5A97
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5A97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5A97 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E5F99
Deuteranopia (green-blind)
#2F5596
Tritanopia (blue-blind)
#006871
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2f5a97; /* rgb */ color: rgb(47, 90, 151); /* oklch */ color: oklch(46.8% 0.110 257.4);
Tailwind
colors: {
custom: {
50: '#7488b6',
500: '#2f5a97',
950: '#000000',
},
}SCSS
$custom: #2f5a97; $custom-light: #7488b6; $custom-dark: #000000;
JSON
{
"hex": "#2f5a97",
"rgb": {
"r": 47,
"g": 90,
"b": 151
},
"hsl": {
"h": 215.192,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.46806,
"c": 0.11039,
"h": 257.4
},
"luminance": 0.10151
}Semantic roles & 50–950 ramp
primary
#2F5A97
secondary
#B99868
accent
#A04CDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80