#284ABC#284ABC
#284ABC is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.9% C 0.184 H 266.3°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #284ABC |
|---|---|
| RGB | rgb(40, 74, 188) |
| HSL | hsl(226, 65%, 45%) |
| HSV | hsv(226, 79%, 74%) |
| CMYK | cmyk(78.7%, 60.6%, 0%, 26.3%) |
| CIE-LAB | lab(35.94, 29.69, -63.34) |
| CIE-LCH | lch(35.94, 69.95, 295.11°) |
| OKLab | oklab(45.9% -0.0119 -0.1831) |
| OKLCH | oklch(45.9% 0.184 266.3) |
| XYZ | xyz(12.3978, 8.9781, 48.6467) |
| Luminance | 0.0898 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.93
Cobalt
#0047AB
ΔE00 3.78
Sapphire
#0F52BA
ΔE00 3.87
Blue (survey)
#0343DF
ΔE00 4.72
Sapphire (survey)
#2138AB
ΔE00 5.70
Ocean Blue
#4F42B5
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284ABC #BC9A28
analogous
#2894BC #284ABC #5028BC
triadic
#284ABC #BC284A #4ABC28
tetradic
#284ABC #BC2894 #BC9A28 #28BC50
square
#284ABC #BC2894 #BC9A28 #28BC50
split-complementary
#284ABC #BC5028 #94BC28
monochromatic
#132257 #1D368A #284ABC #496AD8 #7B93E3
Accessibility & contrast
On white
7.51
#284ABC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#284ABC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284ABC
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284ABC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284ABC | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#00677C
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #284abc; /* rgb */ color: rgb(40, 74, 188); /* oklch */ color: oklch(45.9% 0.184 266.3);
Tailwind
colors: {
custom: {
50: '#7a7cd1',
500: '#284abc',
950: '#000000',
},
}SCSS
$custom: #284abc; $custom-light: #7a7cd1; $custom-dark: #000000;
JSON
{
"hex": "#284abc",
"rgb": {
"r": 40,
"g": 74,
"b": 188
},
"hsl": {
"h": 226.216,
"s": 64.912,
"l": 44.706
},
"oklch": {
"l": 0.45899,
"c": 0.18351,
"h": 266.3
},
"luminance": 0.0898
}Semantic roles & 50–950 ramp
primary
#284ABC
secondary
#CBB775
accent
#C140E8
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83