#285097#285097
#285097 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.2% C 0.125 H 260.9°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #285097 |
|---|---|
| RGB | rgb(40, 80, 151) |
| HSL | hsl(218, 58%, 37%) |
| HSV | hsv(218, 74%, 59%) |
| CMYK | cmyk(73.5%, 47%, 0%, 40.8%) |
| CIE-LAB | lab(34.85, 11.46, -43.06) |
| CIE-LCH | lch(34.85, 44.56, 284.91°) |
| OKLab | oklab(44.2% -0.0198 -0.1234) |
| OKLCH | oklch(44.2% 0.125 260.9) |
| XYZ | xyz(9.3276, 8.4218, 30.4061) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.23
Cobalt (survey)
#1E488F
ΔE00 2.68
Denim Blue
#3B5B92
ΔE00 3.93
Cobalt
#0047AB
ΔE00 4.10
Light Navy
#155084
ΔE00 4.34
Sapphire
#0F52BA
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285097 #976F28
analogous
#288897 #285097 #372897
triadic
#285097 #972850 #509728
tetradic
#285097 #972888 #976F28 #289737
square
#285097 #972888 #976F28 #289737
split-complementary
#285097 #973728 #889728
monochromatic
#0E1D36 #1B3667 #285097 #356AC7 #648DD6
Accessibility & contrast
On white
7.82
#285097 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#285097 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285097
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285097 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285097 | 1.00 | 7.82 | 2.68 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B579A
Deuteranopia (green-blind)
#134D96
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #285097; /* rgb */ color: rgb(40, 80, 151); /* oklch */ color: oklch(44.2% 0.125 260.9);
Tailwind
colors: {
custom: {
50: '#7180b6',
500: '#285097',
950: '#000000',
},
}SCSS
$custom: #285097; $custom-light: #7180b6; $custom-dark: #000000;
JSON
{
"hex": "#285097",
"rgb": {
"r": 40,
"g": 80,
"b": 151
},
"hsl": {
"h": 218.378,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.44202,
"c": 0.12498,
"h": 260.9
},
"luminance": 0.08423
}Semantic roles & 50–950 ramp
primary
#285097
secondary
#BC9A5F
accent
#AA46E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80