#284DB9#284DB9
#284DB9 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.2% C 0.176 H 265.5°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #284DB9 |
|---|---|
| RGB | rgb(40, 77, 185) |
| HSL | hsl(225, 64%, 44%) |
| HSV | hsv(225, 78%, 73%) |
| CMYK | cmyk(78.4%, 58.4%, 0%, 27.5%) |
| CIE-LAB | lab(36.48, 26.58, -60.70) |
| CIE-LCH | lch(36.48, 66.26, 293.65°) |
| OKLab | oklab(46.23% -0.0139 -0.1753) |
| OKLCH | oklch(46.23% 0.176 265.5) |
| XYZ | xyz(12.2828, 9.2602, 47.0296) |
| Luminance | 0.0926 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.85
Cobalt
#0047AB
ΔE00 3.48
Blue Blue
#2242C7
ΔE00 4.07
Blue (survey)
#0343DF
ΔE00 5.59
Cobalt (survey)
#1E488F
ΔE00 6.21
Sapphire (survey)
#2138AB
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284DB9 #B99428
analogous
#2896B9 #284DB9 #4C28B9
triadic
#284DB9 #B9284D #4DB928
tetradic
#284DB9 #B92896 #B99428 #28B94C
square
#284DB9 #B92896 #B99428 #28B94C
split-complementary
#284DB9 #B94C28 #96B928
monochromatic
#122354 #1D3887 #284DB9 #476CD7 #7994E2
Accessibility & contrast
On white
7.36
#284DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#284DB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284DB9
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284DB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284DB9 | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #284db9; /* rgb */ color: rgb(40, 77, 185); /* oklch */ color: oklch(46.2% 0.176 265.5);
Tailwind
colors: {
custom: {
50: '#797ecf',
500: '#284db9',
950: '#000000',
},
}SCSS
$custom: #284db9; $custom-light: #797ecf; $custom-dark: #000000;
JSON
{
"hex": "#284db9",
"rgb": {
"r": 40,
"g": 77,
"b": 185
},
"hsl": {
"h": 224.69,
"s": 64.444,
"l": 44.118
},
"oklch": {
"l": 0.46225,
"c": 0.17588,
"h": 265.5
},
"luminance": 0.09262
}Semantic roles & 50–950 ramp
primary
#284DB9
secondary
#CAB473
accent
#BD40E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82