#295198#295198
#295198 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.5% C 0.125 H 260.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #295198 |
|---|---|
| RGB | rgb(41, 81, 152) |
| HSL | hsl(218, 58%, 38%) |
| HSV | hsv(218, 73%, 60%) |
| CMYK | cmyk(73%, 46.7%, 0%, 40.4%) |
| CIE-LAB | lab(35.25, 11.33, -43.02) |
| CIE-LCH | lch(35.25, 44.49, 284.76°) |
| OKLab | oklab(44.54% -0.0197 -0.1232) |
| OKLCH | oklch(44.54% 0.125 260.9) |
| XYZ | xyz(9.5223, 8.6223, 30.8621) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.17
Cobalt (survey)
#1E488F
ΔE00 3.02
Denim Blue
#3B5B92
ΔE00 3.65
Sapphire
#0F52BA
ΔE00 4.23
Cobalt
#0047AB
ΔE00 4.27
Light Navy Blue
#2E5A88
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#295198 #987029
analogous
#298998 #295198 #382998
triadic
#295198 #982951 #519829
tetradic
#295198 #982989 #987029 #299838
square
#295198 #982989 #987029 #299838
split-complementary
#295198 #983829 #899829
monochromatic
#0F1E38 #1C3768 #295198 #366BC8 #668ED6
Accessibility & contrast
On white
7.71
#295198 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#295198 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #295198
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##295198 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##295198 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C589B
Deuteranopia (green-blind)
#154E97
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #295198; /* rgb */ color: rgb(41, 81, 152); /* oklch */ color: oklch(44.5% 0.125 260.9);
Tailwind
colors: {
custom: {
50: '#7181b7',
500: '#295198',
950: '#000000',
},
}SCSS
$custom: #295198; $custom-light: #7181b7; $custom-dark: #000000;
JSON
{
"hex": "#295198",
"rgb": {
"r": 41,
"g": 81,
"b": 152
},
"hsl": {
"h": 218.378,
"s": 57.513,
"l": 37.843
},
"oklch": {
"l": 0.44542,
"c": 0.12482,
"h": 260.9
},
"luminance": 0.08623
}Semantic roles & 50–950 ramp
primary
#295198
secondary
#BC9B61
accent
#A947E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80