#282CB0#282CB0
#282CB0 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.6% C 0.202 H 271.3°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #282CB0 |
|---|---|
| RGB | rgb(40, 44, 176) |
| HSL | hsl(238, 63%, 42%) |
| HSV | hsv(238, 77%, 69%) |
| CMYK | cmyk(77.3%, 75%, 0%, 31%) |
| CIE-LAB | lab(27.81, 44.11, -69.59) |
| CIE-LCH | lch(27.81, 82.39, 302.36°) |
| OKLab | oklab(39.63% 0.0045 -0.2015) |
| OKLCH | oklch(39.63% 0.202 271.3) |
| XYZ | xyz(9.6096, 5.3860, 41.5990) |
| Luminance | 0.0539 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.65
Indigo Blue
#3A18B1
ΔE00 4.32
True Blue
#010FCC
ΔE00 5.38
Mediumblue
#0000CD
ΔE00 6.33
Royal
#0C1793
ΔE00 6.35
Cobalt Blue
#030AA7
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282CB0 #B0AC28
analogous
#2870B0 #282CB0 #6828B0
triadic
#282CB0 #B0282C #2CB028
tetradic
#282CB0 #B02870 #B0AC28 #28B068
square
#282CB0 #B02870 #B0AC28 #28B068
split-complementary
#282CB0 #B06828 #70B028
monochromatic
#11134C #1D207E #282CB0 #4146D4 #7376DF
Accessibility & contrast
On white
10.11
#282CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#282CB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282CB0
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282CB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282CB0 | 1.00 | 10.11 | 2.08 | 10.11 |
| #FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B4
Deuteranopia (green-blind)
#003BAE
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #282cb0; /* rgb */ color: rgb(40, 44, 176); /* oklch */ color: oklch(39.6% 0.202 271.3);
Tailwind
colors: {
custom: {
50: '#7a67c9',
500: '#282cb0',
950: '#000000',
},
}SCSS
$custom: #282cb0; $custom-light: #7a67c9; $custom-dark: #000000;
JSON
{
"hex": "#282cb0",
"rgb": {
"r": 40,
"g": 44,
"b": 176
},
"hsl": {
"h": 238.235,
"s": 62.963,
"l": 42.353
},
"oklch": {
"l": 0.39631,
"c": 0.20155,
"h": 271.3
},
"luminance": 0.05387
}Semantic roles & 50–950 ramp
primary
#282CB0
secondary
#C6C46D
accent
#E142E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82