#295698#295698
#295698 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.7% C 0.119 H 258.1°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #295698 |
|---|---|
| RGB | rgb(41, 86, 152) |
| HSL | hsl(216, 58%, 38%) |
| HSV | hsv(216, 73%, 60%) |
| CMYK | cmyk(73%, 43.4%, 0%, 40.4%) |
| CIE-LAB | lab(36.73, 8.03, -40.64) |
| CIE-LCH | lch(36.73, 41.43, 281.18°) |
| OKLab | oklab(45.69% -0.0245 -0.1162) |
| OKLCH | oklch(45.69% 0.119 258.1) |
| XYZ | xyz(9.9077, 9.3929, 30.9905) |
| Luminance | 0.0939 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.68
Denim Blue
#3B5B92
ΔE00 2.68
Light Navy Blue
#2E5A88
ΔE00 2.89
Light Navy
#155084
ΔE00 4.03
Sapphire
#0F52BA
ΔE00 4.41
Cobalt (survey)
#1E488F
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#295698 #986B29
analogous
#298D98 #295698 #342998
triadic
#295698 #982956 #569829
tetradic
#295698 #98298D #986B29 #299834
square
#295698 #98298D #986B29 #299834
split-complementary
#295698 #983429 #8D9829
monochromatic
#0F1F38 #1C3B68 #295698 #3671C8 #6693D6
Accessibility & contrast
On white
7.29
#295698 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#295698 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #295698
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##295698 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##295698 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#365C9B
Deuteranopia (green-blind)
#235297
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #295698; /* rgb */ color: rgb(41, 86, 152); /* oklch */ color: oklch(45.7% 0.119 258.1);
Tailwind
colors: {
custom: {
50: '#7185b7',
500: '#295698',
950: '#000000',
},
}SCSS
$custom: #295698; $custom-light: #7185b7; $custom-dark: #000000;
JSON
{
"hex": "#295698",
"rgb": {
"r": 41,
"g": 86,
"b": 152
},
"hsl": {
"h": 215.676,
"s": 57.513,
"l": 37.843
},
"oklch": {
"l": 0.45687,
"c": 0.11873,
"h": 258.1
},
"luminance": 0.09394
}Semantic roles & 50–950 ramp
primary
#295698
secondary
#BC9761
accent
#A247E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80