#285198#285198
#285198 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.5% C 0.125 H 260.6°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #285198 |
|---|---|
| RGB | rgb(40, 81, 152) |
| HSL | hsl(218, 58%, 38%) |
| HSV | hsv(218, 74%, 60%) |
| CMYK | cmyk(73.7%, 46.7%, 0%, 40.4%) |
| CIE-LAB | lab(35.21, 11.19, -43.09) |
| CIE-LCH | lch(35.21, 44.52, 284.55°) |
| OKLab | oklab(44.5% -0.0205 -0.1235) |
| OKLCH | oklch(44.5% 0.125 260.6) |
| XYZ | xyz(9.4830, 8.6020, 30.8602) |
| Luminance | 0.0860 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.08
Cobalt (survey)
#1E488F
ΔE00 3.01
Denim Blue
#3B5B92
ΔE00 3.69
Sapphire
#0F52BA
ΔE00 4.21
Cobalt
#0047AB
ΔE00 4.26
Light Navy Blue
#2E5A88
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285198 #986F28
analogous
#288998 #285198 #372898
triadic
#285198 #982851 #519828
tetradic
#285198 #982889 #986F28 #289837
square
#285198 #982889 #986F28 #289837
split-complementary
#285198 #983728 #899828
monochromatic
#0F1D37 #1B3768 #285198 #356BC8 #648ED6
Accessibility & contrast
On white
7.72
#285198 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#285198 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285198
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285198 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285198 | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C589B
Deuteranopia (green-blind)
#144E97
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #285198; /* rgb */ color: rgb(40, 81, 152); /* oklch */ color: oklch(44.5% 0.125 260.6);
Tailwind
colors: {
custom: {
50: '#7181b7',
500: '#285198',
950: '#000000',
},
}SCSS
$custom: #285198; $custom-light: #7181b7; $custom-dark: #000000;
JSON
{
"hex": "#285198",
"rgb": {
"r": 40,
"g": 81,
"b": 152
},
"hsl": {
"h": 218.036,
"s": 58.333,
"l": 37.647
},
"oklch": {
"l": 0.445,
"c": 0.12516,
"h": 260.6
},
"luminance": 0.08603
}Semantic roles & 50–950 ramp
primary
#285198
secondary
#BC9A60
accent
#A946E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80