#2F5795#2F5795
#2F5795 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.0% C 0.111 H 258.9°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5795 |
|---|---|
| RGB | rgb(47, 87, 149) |
| HSL | hsl(216, 52%, 38%) |
| HSV | hsv(216, 68%, 58%) |
| CMYK | cmyk(68.5%, 41.6%, 0%, 41.6%) |
| CIE-LAB | lab(37.10, 7.21, -38.24) |
| CIE-LCH | lch(37.10, 38.91, 280.68°) |
| OKLab | oklab(45.98% -0.0214 -0.109) |
| OKLCH | oklch(45.98% 0.111 258.9) |
| XYZ | xyz(10.0034, 9.5897, 29.7517) |
| Luminance | 0.0959 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.90
Denim Blue
#3B5B92
ΔE00 1.96
Light Navy Blue
#2E5A88
ΔE00 2.78
Dusky Blue
#475F94
ΔE00 4.31
Light Navy
#155084
ΔE00 4.37
Denim (survey)
#3B638C
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5795 #956D2F
analogous
#2F8A95 #2F5795 #3A2F95
triadic
#2F5795 #952F57 #57952F
tetradic
#2F5795 #952F8A #956D2F #2F953A
square
#2F5795 #952F8A #956D2F #2F953A
split-complementary
#2F5795 #953A2F #8A952F
monochromatic
#122138 #203C66 #2F5795 #3F72C2 #6D94D1
Accessibility & contrast
On white
7.20
#2F5795 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#2F5795 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5795
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5795 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5795 | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B5C97
Deuteranopia (green-blind)
#2B5394
Tritanopia (blue-blind)
#00656E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2f5795; /* rgb */ color: rgb(47, 87, 149); /* oklch */ color: oklch(46.0% 0.111 258.9);
Tailwind
colors: {
custom: {
50: '#7386b4',
500: '#2f5795',
950: '#000000',
},
}SCSS
$custom: #2f5795; $custom-light: #7386b4; $custom-dark: #000000;
JSON
{
"hex": "#2f5795",
"rgb": {
"r": 47,
"g": 87,
"b": 149
},
"hsl": {
"h": 216.471,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.45981,
"c": 0.11108,
"h": 258.9
},
"luminance": 0.09591
}Semantic roles & 50–950 ramp
primary
#2F5795
secondary
#B89967
accent
#A34CDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80