#295097#295097
#295097 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.2% C 0.125 H 261.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #295097 |
|---|---|
| RGB | rgb(41, 80, 151) |
| HSL | hsl(219, 57%, 38%) |
| HSV | hsv(219, 73%, 59%) |
| CMYK | cmyk(72.8%, 47%, 0%, 40.8%) |
| CIE-LAB | lab(34.89, 11.61, -42.99) |
| CIE-LCH | lch(34.89, 44.53, 285.11°) |
| OKLab | oklab(44.25% -0.019 -0.1232) |
| OKLCH | oklch(44.25% 0.125 261.2) |
| XYZ | xyz(9.3670, 8.4421, 30.4080) |
| Luminance | 0.0844 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.33
Cobalt (survey)
#1E488F
ΔE00 2.69
Denim Blue
#3B5B92
ΔE00 3.90
Cobalt
#0047AB
ΔE00 4.12
Sapphire
#0F52BA
ΔE00 4.39
Light Navy
#155084
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#295097 #977029
analogous
#298797 #295097 #392997
triadic
#295097 #972950 #509729
tetradic
#295097 #972987 #977029 #299739
square
#295097 #972987 #977029 #299739
split-complementary
#295097 #973929 #879729
monochromatic
#0F1D37 #1C3767 #295097 #366AC7 #658DD5
Accessibility & contrast
On white
7.81
#295097 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#295097 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #295097
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##295097 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##295097 | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B579A
Deuteranopia (green-blind)
#134D96
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #295097; /* rgb */ color: rgb(41, 80, 151); /* oklch */ color: oklch(44.2% 0.125 261.2);
Tailwind
colors: {
custom: {
50: '#7180b6',
500: '#295097',
950: '#000000',
},
}SCSS
$custom: #295097; $custom-light: #7180b6; $custom-dark: #000000;
JSON
{
"hex": "#295097",
"rgb": {
"r": 41,
"g": 80,
"b": 151
},
"hsl": {
"h": 218.727,
"s": 57.292,
"l": 37.647
},
"oklch": {
"l": 0.44245,
"c": 0.12464,
"h": 261.2
},
"luminance": 0.08443
}Semantic roles & 50–950 ramp
primary
#295097
secondary
#BB9B61
accent
#AA47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80