#295799#295799
#295799 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.0% C 0.119 H 257.8°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #295799 |
|---|---|
| RGB | rgb(41, 87, 153) |
| HSL | hsl(215, 58%, 38%) |
| HSV | hsv(215, 73%, 60%) |
| CMYK | cmyk(73.2%, 43.1%, 0%, 40%) |
| CIE-LAB | lab(37.09, 7.76, -40.67) |
| CIE-LCH | lch(37.09, 41.41, 280.80°) |
| OKLab | oklab(45.99% -0.0252 -0.1162) |
| OKLCH | oklch(45.99% 0.119 257.8) |
| XYZ | xyz(10.0703, 9.5866, 31.4505) |
| Luminance | 0.0959 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.92
Denim Blue
#3B5B92
ΔE00 2.61
Light Navy Blue
#2E5A88
ΔE00 2.76
Light Navy
#155084
ΔE00 4.16
Sapphire
#0F52BA
ΔE00 4.42
Denim (survey)
#3B638C
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#295799 #996B29
analogous
#298F99 #295799 #332999
triadic
#295799 #992957 #579929
tetradic
#295799 #99298F #996B29 #299933
square
#295799 #99298F #996B29 #299933
split-complementary
#295799 #993329 #8F9929
monochromatic
#0F2038 #1C3C69 #295799 #3672C9 #6694D6
Accessibility & contrast
On white
7.20
#295799 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#295799 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #295799
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##295799 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##295799 | 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)
#375D9C
Deuteranopia (green-blind)
#245298
Tritanopia (blue-blind)
#006670
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #295799; /* rgb */ color: rgb(41, 87, 153); /* oklch */ color: oklch(46.0% 0.119 257.8);
Tailwind
colors: {
custom: {
50: '#7285b7',
500: '#295799',
950: '#000000',
},
}SCSS
$custom: #295799; $custom-light: #7285b7; $custom-dark: #000000;
JSON
{
"hex": "#295799",
"rgb": {
"r": 41,
"g": 87,
"b": 153
},
"hsl": {
"h": 215.357,
"s": 57.732,
"l": 38.039
},
"oklch": {
"l": 0.45986,
"c": 0.11894,
"h": 257.8
},
"luminance": 0.09588
}Semantic roles & 50–950 ramp
primary
#295799
secondary
#BC9762
accent
#A247E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80