#295398#295398
#295398 is a dark, vivid blue. Relative luminance 0.089; OKLCH L 45.0% C 0.122 H 259.8°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #295398 |
|---|---|
| RGB | rgb(41, 83, 152) |
| HSL | hsl(217, 58%, 38%) |
| HSV | hsv(217, 73%, 60%) |
| CMYK | cmyk(73%, 45.4%, 0%, 40.4%) |
| CIE-LAB | lab(35.84, 10.01, -42.07) |
| CIE-LCH | lch(35.84, 43.25, 283.38°) |
| OKLab | oklab(45% -0.0216 -0.1204) |
| OKLCH | oklch(45% 0.122 259.8) |
| XYZ | xyz(9.6732, 8.9239, 30.9124) |
| Luminance | 0.0892 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.76
Denim Blue
#3B5B92
ΔE00 3.17
Cobalt (survey)
#1E488F
ΔE00 3.63
Light Navy Blue
#2E5A88
ΔE00 3.72
Light Navy
#155084
ΔE00 4.16
Sapphire
#0F52BA
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#295398 #986E29
analogous
#298B98 #295398 #362998
triadic
#295398 #982953 #539829
tetradic
#295398 #98298B #986E29 #299836
square
#295398 #98298B #986E29 #299836
split-complementary
#295398 #983629 #8B9829
monochromatic
#0F1E38 #1C3968 #295398 #366DC8 #6690D6
Accessibility & contrast
On white
7.54
#295398 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#295398 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #295398
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##295398 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##295398 | 1.00 | 7.54 | 2.78 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#305A9B
Deuteranopia (green-blind)
#1B5097
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #295398; /* rgb */ color: rgb(41, 83, 152); /* oklch */ color: oklch(45.0% 0.122 259.8);
Tailwind
colors: {
custom: {
50: '#7182b7',
500: '#295398',
950: '#000000',
},
}SCSS
$custom: #295398; $custom-light: #7182b7; $custom-dark: #000000;
JSON
{
"hex": "#295398",
"rgb": {
"r": 41,
"g": 83,
"b": 152
},
"hsl": {
"h": 217.297,
"s": 57.513,
"l": 37.843
},
"oklch": {
"l": 0.44997,
"c": 0.12236,
"h": 259.8
},
"luminance": 0.08925
}Semantic roles & 50–950 ramp
primary
#295398
secondary
#BC9961
accent
#A747E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80