#295397#295397
#295397 is a dark, vivid blue. Relative luminance 0.089; OKLCH L 44.9% C 0.121 H 259.6°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #295397 |
|---|---|
| RGB | rgb(41, 83, 151) |
| HSL | hsl(217, 57%, 38%) |
| HSV | hsv(217, 73%, 59%) |
| CMYK | cmyk(72.8%, 45%, 0%, 40.8%) |
| CIE-LAB | lab(35.77, 9.62, -41.57) |
| CIE-LCH | lch(35.77, 42.67, 283.03°) |
| OKLab | oklab(44.93% -0.0218 -0.1189) |
| OKLCH | oklch(44.93% 0.121 259.6) |
| XYZ | xyz(9.5916, 8.8913, 30.4828) |
| Luminance | 0.0889 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.63
Denim Blue
#3B5B92
ΔE00 3.15
Cobalt (survey)
#1E488F
ΔE00 3.61
Light Navy Blue
#2E5A88
ΔE00 3.64
Light Navy
#155084
ΔE00 4.05
Sapphire
#0F52BA
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#295397 #976D29
analogous
#298A97 #295397 #362997
triadic
#295397 #972953 #539729
tetradic
#295397 #97298A #976D29 #299736
square
#295397 #97298A #976D29 #299736
split-complementary
#295397 #973629 #8A9729
monochromatic
#0F1E37 #1C3967 #295397 #366DC7 #6590D5
Accessibility & contrast
On white
7.56
#295397 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#295397 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #295397
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##295397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##295397 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#315A9A
Deuteranopia (green-blind)
#1D4F96
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #295397; /* rgb */ color: rgb(41, 83, 151); /* oklch */ color: oklch(44.9% 0.121 259.6);
Tailwind
colors: {
custom: {
50: '#7182b6',
500: '#295397',
950: '#000000',
},
}SCSS
$custom: #295397; $custom-light: #7182b6; $custom-dark: #000000;
JSON
{
"hex": "#295397",
"rgb": {
"r": 41,
"g": 83,
"b": 151
},
"hsl": {
"h": 217.091,
"s": 57.292,
"l": 37.647
},
"oklch": {
"l": 0.44928,
"c": 0.12093,
"h": 259.6
},
"luminance": 0.08892
}Semantic roles & 50–950 ramp
primary
#295397
secondary
#BB9961
accent
#A647E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80