#285AB7#285AB7
#285AB7 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.8% C 0.157 H 261.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #285AB7 |
|---|---|
| RGB | rgb(40, 90, 183) |
| HSL | hsl(219, 64%, 44%) |
| HSV | hsv(219, 78%, 72%) |
| CMYK | cmyk(78.1%, 50.8%, 0%, 28.2%) |
| CIE-LAB | lab(39.88, 17.24, -54.00) |
| CIE-LCH | lch(39.88, 56.69, 287.70°) |
| OKLab | oklab(48.75% -0.0234 -0.1554) |
| OKLCH | oklch(48.75% 0.157 261.4) |
| XYZ | xyz(13.0754, 11.1808, 46.2596) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.69
Denim
#1560BD
ΔE00 2.90
Denim Blue
#3B5B92
ΔE00 4.71
Dusk Blue
#26538D
ΔE00 5.62
Light Navy Blue
#2E5A88
ΔE00 5.67
Denim (survey)
#3B638C
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285AB7 #B78528
analogous
#28A1B7 #285AB7 #3D28B7
triadic
#285AB7 #B7285A #5AB728
tetradic
#285AB7 #B728A1 #B78528 #28B73D
square
#285AB7 #B728A1 #B78528 #28B73D
split-complementary
#285AB7 #B73D28 #A1B728
monochromatic
#122953 #1D4185 #285AB7 #4678D6 #789DE1
Accessibility & contrast
On white
6.49
#285AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#285AB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #285AB7
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285AB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285AB7 | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F65BA
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #285ab7; /* rgb */ color: rgb(40, 90, 183); /* oklch */ color: oklch(48.8% 0.157 261.4);
Tailwind
colors: {
custom: {
50: '#7888cd',
500: '#285ab7',
950: '#000000',
},
}SCSS
$custom: #285ab7; $custom-light: #7888cd; $custom-dark: #000000;
JSON
{
"hex": "#285ab7",
"rgb": {
"r": 40,
"g": 90,
"b": 183
},
"hsl": {
"h": 219.021,
"s": 64.126,
"l": 43.725
},
"oklch": {
"l": 0.48753,
"c": 0.15717,
"h": 261.4
},
"luminance": 0.11182
}Semantic roles & 50–950 ramp
primary
#285AB7
secondary
#C9AB72
accent
#AD41E7
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82