#284AB3#284AB3
#284AB3 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.172 H 265.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #284AB3 |
|---|---|
| RGB | rgb(40, 74, 179) |
| HSL | hsl(225, 63%, 43%) |
| HSV | hsv(225, 78%, 70%) |
| CMYK | cmyk(77.7%, 58.7%, 0%, 29.8%) |
| CIE-LAB | lab(35.21, 26.28, -59.23) |
| CIE-LCH | lch(35.21, 64.80, 293.92°) |
| OKLab | oklab(45.12% -0.0121 -0.1711) |
| OKLCH | oklch(45.12% 0.172 265.9) |
| XYZ | xyz(11.4577, 8.6020, 43.6956) |
| Luminance | 0.0860 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.84
Sapphire
#0F52BA
ΔE00 3.61
Blue Blue
#2242C7
ΔE00 3.86
Cobalt (survey)
#1E488F
ΔE00 5.53
Sapphire (survey)
#2138AB
ΔE00 5.54
Blue (survey)
#0343DF
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284AB3 #B39128
analogous
#288FB3 #284AB3 #4C28B3
triadic
#284AB3 #B3284A #4AB328
tetradic
#284AB3 #B3288F #B39128 #28B34C
square
#284AB3 #B3288F #B39128 #28B34C
split-complementary
#284AB3 #B34C28 #8FB328
monochromatic
#12214F #1D3581 #284AB3 #4367D5 #758FE0
Accessibility & contrast
On white
7.72
#284AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#284AB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284AB3
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284AB3 | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #284ab3; /* rgb */ color: rgb(40, 74, 179); /* oklch */ color: oklch(45.1% 0.172 265.9);
Tailwind
colors: {
custom: {
50: '#787ccb',
500: '#284ab3',
950: '#000000',
},
}SCSS
$custom: #284ab3; $custom-light: #787ccb; $custom-dark: #000000;
JSON
{
"hex": "#284ab3",
"rgb": {
"r": 40,
"g": 74,
"b": 179
},
"hsl": {
"h": 225.324,
"s": 63.47,
"l": 42.941
},
"oklch": {
"l": 0.45122,
"c": 0.17151,
"h": 265.9
},
"luminance": 0.08603
}Semantic roles & 50–950 ramp
primary
#284AB3
secondary
#C8B26F
accent
#BE41E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82