#285799#285799
#285799 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 45.9% C 0.119 H 257.4°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #285799 |
|---|---|
| RGB | rgb(40, 87, 153) |
| HSL | hsl(215, 59%, 38%) |
| HSV | hsv(215, 74%, 60%) |
| CMYK | cmyk(73.9%, 43.1%, 0%, 40%) |
| CIE-LAB | lab(37.05, 7.61, -40.73) |
| CIE-LCH | lch(37.05, 41.44, 280.58°) |
| OKLab | oklab(45.95% -0.0259 -0.1164) |
| OKLCH | oklch(45.95% 0.119 257.4) |
| XYZ | xyz(10.0309, 9.5663, 31.4486) |
| Luminance | 0.0957 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.89
Light Navy Blue
#2E5A88
ΔE00 2.71
Denim Blue
#3B5B92
ΔE00 2.71
Light Navy
#155084
ΔE00 4.07
Sapphire
#0F52BA
ΔE00 4.44
Denim (survey)
#3B638C
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285799 #996A28
analogous
#288F99 #285799 #312899
triadic
#285799 #992857 #579928
tetradic
#285799 #99288F #996A28 #289931
square
#285799 #99288F #996A28 #289931
split-complementary
#285799 #993128 #8F9928
monochromatic
#0F2038 #1B3B68 #285799 #3573CA #6594D7
Accessibility & contrast
On white
7.21
#285799 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#285799 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285799
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285799 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285799 | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#375D9C
Deuteranopia (green-blind)
#235298
Tritanopia (blue-blind)
#006670
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #285799; /* rgb */ color: rgb(40, 87, 153); /* oklch */ color: oklch(45.9% 0.119 257.4);
Tailwind
colors: {
custom: {
50: '#7185b7',
500: '#285799',
950: '#000000',
},
}SCSS
$custom: #285799; $custom-light: #7185b7; $custom-dark: #000000;
JSON
{
"hex": "#285799",
"rgb": {
"r": 40,
"g": 87,
"b": 153
},
"hsl": {
"h": 215.044,
"s": 58.549,
"l": 37.843
},
"oklch": {
"l": 0.45946,
"c": 0.1193,
"h": 257.4
},
"luminance": 0.09567
}Semantic roles & 50–950 ramp
primary
#285799
secondary
#BD9660
accent
#A146E2
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80