#284AB9#284AB9
#284AB9 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.180 H 266.2°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #284AB9 |
|---|---|
| RGB | rgb(40, 74, 185) |
| HSL | hsl(226, 64%, 44%) |
| HSV | hsv(226, 78%, 73%) |
| CMYK | cmyk(78.4%, 60%, 0%, 27.5%) |
| CIE-LAB | lab(35.69, 28.55, -61.98) |
| CIE-LCH | lch(35.69, 68.24, 294.73°) |
| OKLab | oklab(45.64% -0.012 -0.1791) |
| OKLCH | oklch(45.64% 0.18 266.2) |
| XYZ | xyz(12.0777, 8.8501, 46.9612) |
| Luminance | 0.0885 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.21
Cobalt
#0047AB
ΔE00 3.45
Sapphire
#0F52BA
ΔE00 3.75
Blue (survey)
#0343DF
ΔE00 5.11
Sapphire (survey)
#2138AB
ΔE00 5.61
Ocean Blue
#4F42B5
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284AB9 #B99728
analogous
#2893B9 #284AB9 #4F28B9
triadic
#284AB9 #B9284A #4AB928
tetradic
#284AB9 #B92893 #B99728 #28B94F
square
#284AB9 #B92893 #B99728 #28B94F
split-complementary
#284AB9 #B94F28 #93B928
monochromatic
#122254 #1D3687 #284AB9 #4769D7 #7992E2
Accessibility & contrast
On white
7.58
#284AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#284AB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284AB9
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284AB9 | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#004DB7
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #284ab9; /* rgb */ color: rgb(40, 74, 185); /* oklch */ color: oklch(45.6% 0.180 266.2);
Tailwind
colors: {
custom: {
50: '#797ccf',
500: '#284ab9',
950: '#000000',
},
}SCSS
$custom: #284ab9; $custom-light: #797ccf; $custom-dark: #000000;
JSON
{
"hex": "#284ab9",
"rgb": {
"r": 40,
"g": 74,
"b": 185
},
"hsl": {
"h": 225.931,
"s": 64.444,
"l": 44.118
},
"oklch": {
"l": 0.45638,
"c": 0.17954,
"h": 266.2
},
"luminance": 0.08851
}Semantic roles & 50–950 ramp
primary
#284AB9
secondary
#CAB673
accent
#C040E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82