#284AB1#284AB1
#284AB1 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.169 H 265.9°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #284AB1 |
|---|---|
| RGB | rgb(40, 74, 177) |
| HSL | hsl(225, 63%, 43%) |
| HSV | hsv(225, 77%, 69%) |
| CMYK | cmyk(77.4%, 58.2%, 0%, 30.6%) |
| CIE-LAB | lab(35.05, 25.52, -58.31) |
| CIE-LCH | lch(35.05, 63.65, 293.63°) |
| OKLab | oklab(44.95% -0.0122 -0.1684) |
| OKLCH | oklch(44.95% 0.169 265.9) |
| XYZ | xyz(11.2569, 8.5217, 42.6380) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.67
Sapphire
#0F52BA
ΔE00 3.60
Blue Blue
#2242C7
ΔE00 4.10
Cobalt (survey)
#1E488F
ΔE00 5.26
Sapphire (survey)
#2138AB
ΔE00 5.56
Blue (survey)
#0343DF
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284AB1 #B18F28
analogous
#288FB1 #284AB1 #4A28B1
triadic
#284AB1 #B1284A #4AB128
tetradic
#284AB1 #B1288F #B18F28 #28B14A
square
#284AB1 #B1288F #B18F28 #28B14A
split-complementary
#284AB1 #B14A28 #8FB128
monochromatic
#11204D #1D357F #284AB1 #4266D4 #748FE0
Accessibility & contrast
On white
7.76
#284AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#284AB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284AB1
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284AB1 | 1.00 | 7.76 | 2.70 | 7.76 |
| #FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#004CAF
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #284ab1; /* rgb */ color: rgb(40, 74, 177); /* oklch */ color: oklch(45.0% 0.169 265.9);
Tailwind
colors: {
custom: {
50: '#777cc9',
500: '#284ab1',
950: '#000000',
},
}SCSS
$custom: #284ab1; $custom-light: #777cc9; $custom-dark: #000000;
JSON
{
"hex": "#284ab1",
"rgb": {
"r": 40,
"g": 74,
"b": 177
},
"hsl": {
"h": 225.109,
"s": 63.134,
"l": 42.549
},
"oklch": {
"l": 0.44952,
"c": 0.1688,
"h": 265.9
},
"luminance": 0.08523
}Semantic roles & 50–950 ramp
primary
#284AB1
secondary
#C7B16E
accent
#BD42E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82