#284DC9#284DC9
#284DC9 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.6% C 0.197 H 266.0°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #284DC9 |
|---|---|
| RGB | rgb(40, 77, 201) |
| HSL | hsl(226, 67%, 47%) |
| HSV | hsv(226, 80%, 79%) |
| CMYK | cmyk(80.1%, 61.7%, 0%, 21.2%) |
| CIE-LAB | lab(37.80, 32.60, -67.90) |
| CIE-LCH | lch(37.80, 75.32, 295.65°) |
| OKLab | oklab(47.62% -0.0136 -0.1965) |
| OKLCH | oklch(47.62% 0.197 266) |
| XYZ | xyz(14.0679, 9.9743, 56.4308) |
| Luminance | 0.0998 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.30
Blue (survey)
#0343DF
ΔE00 3.81
Sapphire
#0F52BA
ΔE00 4.06
Cobalt
#0047AB
ΔE00 5.31
Warm Blue
#4B57DB
ΔE00 5.35
Ocean Blue
#4F42B5
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284DC9 #C9A428
analogous
#289EC9 #284DC9 #5328C9
triadic
#284DC9 #C9284D #4DC928
tetradic
#284DC9 #C9289E #C9A428 #28C953
square
#284DC9 #C9289E #C9A428 #28C953
split-complementary
#284DC9 #C95328 #9EC928
monochromatic
#142663 #1E3996 #284DC9 #5272DD #859BE7
Accessibility & contrast
On white
7.01
#284DC9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#284DC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #284DC9
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284DC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284DC9 | 1.00 | 7.01 | 3.00 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#0052C7
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #284dc9; /* rgb */ color: rgb(40, 77, 201); /* oklch */ color: oklch(47.6% 0.197 266.0);
Tailwind
colors: {
custom: {
50: '#7d7eda',
500: '#284dc9',
950: '#000000',
},
}SCSS
$custom: #284dc9; $custom-light: #7d7eda; $custom-dark: #000000;
JSON
{
"hex": "#284dc9",
"rgb": {
"r": 40,
"g": 77,
"b": 201
},
"hsl": {
"h": 226.211,
"s": 66.805,
"l": 47.255
},
"oklch": {
"l": 0.47615,
"c": 0.19692,
"h": 266
},
"luminance": 0.09976
}Semantic roles & 50–950 ramp
primary
#284DC9
secondary
#D0BD7D
accent
#C23EEA
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83