#285BCA#285BCA
#285BCA is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.4% C 0.181 H 263.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #285BCA |
|---|---|
| RGB | rgb(40, 91, 202) |
| HSL | hsl(221, 67%, 47%) |
| HSV | hsv(221, 80%, 79%) |
| CMYK | cmyk(80.2%, 55%, 0%, 20.8%) |
| CIE-LAB | lab(41.53, 23.88, -62.40) |
| CIE-LCH | lch(41.53, 66.81, 290.94°) |
| OKLab | oklab(50.43% -0.0222 -0.1801) |
| OKLCH | oklch(50.43% 0.181 263) |
| XYZ | xyz(15.2730, 12.1957, 57.4147) |
| Luminance | 0.1220 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.78
Denim
#1560BD
ΔE00 3.82
Azul
#1D5DEC
ΔE00 4.24
Warm Blue
#4B57DB
ΔE00 5.66
Royal Blue
#4169E1
ΔE00 5.99
French Blue
#436BAD
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285BCA #CA9728
analogous
#28ACCA #285BCA #4628CA
triadic
#285BCA #CA285B #5BCA28
tetradic
#285BCA #CA28AC #CA9728 #28CA46
square
#285BCA #CA28AC #CA9728 #28CA46
split-complementary
#285BCA #CA4628 #ACCA28
monochromatic
#142D64 #1E4497 #285BCA #527EDD #85A4E7
Accessibility & contrast
On white
6.11
#285BCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#285BCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #285BCA
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285BCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285BCA | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #285bca; /* rgb */ color: rgb(40, 91, 202); /* oklch */ color: oklch(50.4% 0.181 263.0);
Tailwind
colors: {
custom: {
50: '#7c88db',
500: '#285bca',
950: '#000000',
},
}SCSS
$custom: #285bca; $custom-light: #7c88db; $custom-dark: #000000;
JSON
{
"hex": "#285bca",
"rgb": {
"r": 40,
"g": 91,
"b": 202
},
"hsl": {
"h": 221.111,
"s": 66.942,
"l": 47.451
},
"oklch": {
"l": 0.50434,
"c": 0.18144,
"h": 263
},
"luminance": 0.12198
}Semantic roles & 50–950 ramp
primary
#285BCA
secondary
#D0B67E
accent
#B43EEA
background
#F8F8FD
surface
#EFEFFB
border
#CACAD4
text
#0B0B15
muted
#7C7C83