#285099#285099
#285099 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.3% C 0.128 H 261.3°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #285099 |
|---|---|
| RGB | rgb(40, 80, 153) |
| HSL | hsl(219, 59%, 38%) |
| HSV | hsv(219, 74%, 60%) |
| CMYK | cmyk(73.9%, 47.7%, 0%, 40%) |
| CIE-LAB | lab(34.98, 12.24, -44.06) |
| CIE-LCH | lch(34.98, 45.73, 285.52°) |
| OKLab | oklab(44.35% -0.0194 -0.1263) |
| OKLCH | oklch(44.35% 0.128 261.3) |
| XYZ | xyz(9.4914, 8.4873, 31.2688) |
| Luminance | 0.0849 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.46
Cobalt (survey)
#1E488F
ΔE00 2.77
Cobalt
#0047AB
ΔE00 3.93
Denim Blue
#3B5B92
ΔE00 3.98
Sapphire
#0F52BA
ΔE00 4.14
Light Navy
#155084
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285099 #997128
analogous
#288899 #285099 #382899
triadic
#285099 #992850 #509928
tetradic
#285099 #992888 #997128 #289938
square
#285099 #992888 #997128 #289938
split-complementary
#285099 #993828 #889928
monochromatic
#0F1D38 #1B3768 #285099 #3569CA #658DD7
Accessibility & contrast
On white
7.78
#285099 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#285099 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285099
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285099 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285099 | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29589C
Deuteranopia (green-blind)
#0E4D98
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #285099; /* rgb */ color: rgb(40, 80, 153); /* oklch */ color: oklch(44.3% 0.128 261.3);
Tailwind
colors: {
custom: {
50: '#7180b7',
500: '#285099',
950: '#000000',
},
}SCSS
$custom: #285099; $custom-light: #7180b7; $custom-dark: #000000;
JSON
{
"hex": "#285099",
"rgb": {
"r": 40,
"g": 80,
"b": 153
},
"hsl": {
"h": 218.761,
"s": 58.549,
"l": 37.843
},
"oklch": {
"l": 0.44345,
"c": 0.12783,
"h": 261.3
},
"luminance": 0.08488
}Semantic roles & 50–950 ramp
primary
#285099
secondary
#BD9C60
accent
#AB46E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80