#285199#285199
#285199 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.6% C 0.127 H 260.7°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #285199 |
|---|---|
| RGB | rgb(40, 81, 153) |
| HSL | hsl(218, 59%, 38%) |
| HSV | hsv(218, 74%, 60%) |
| CMYK | cmyk(73.9%, 47.1%, 0%, 40%) |
| CIE-LAB | lab(35.27, 11.57, -43.59) |
| CIE-LCH | lch(35.27, 45.10, 284.87°) |
| OKLab | oklab(44.57% -0.0204 -0.1249) |
| OKLCH | oklch(44.57% 0.127 260.7) |
| XYZ | xyz(9.5652, 8.6348, 31.2934) |
| Luminance | 0.0864 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.20
Cobalt (survey)
#1E488F
ΔE00 3.05
Denim Blue
#3B5B92
ΔE00 3.71
Sapphire
#0F52BA
ΔE00 4.09
Cobalt
#0047AB
ΔE00 4.18
Light Navy Blue
#2E5A88
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285199 #997028
analogous
#288999 #285199 #372899
triadic
#285199 #992851 #519928
tetradic
#285199 #992889 #997028 #289937
square
#285199 #992889 #997028 #289937
split-complementary
#285199 #993728 #899928
monochromatic
#0F1E38 #1B3768 #285199 #356BCA #658ED7
Accessibility & contrast
On white
7.70
#285199 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#285199 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285199
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285199 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B589C
Deuteranopia (green-blind)
#124E98
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #285199; /* rgb */ color: rgb(40, 81, 153); /* oklch */ color: oklch(44.6% 0.127 260.7);
Tailwind
colors: {
custom: {
50: '#7181b7',
500: '#285199',
950: '#000000',
},
}SCSS
$custom: #285199; $custom-light: #7181b7; $custom-dark: #000000;
JSON
{
"hex": "#285199",
"rgb": {
"r": 40,
"g": 81,
"b": 153
},
"hsl": {
"h": 218.23,
"s": 58.549,
"l": 37.843
},
"oklch": {
"l": 0.44571,
"c": 0.12658,
"h": 260.7
},
"luminance": 0.08636
}Semantic roles & 50–950 ramp
primary
#285199
secondary
#BD9B60
accent
#A946E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80