#284BB1#284BB1
#284BB1 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.168 H 265.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #284BB1 |
|---|---|
| RGB | rgb(40, 75, 177) |
| HSL | hsl(225, 63%, 43%) |
| HSV | hsv(225, 77%, 69%) |
| CMYK | cmyk(77.4%, 57.6%, 0%, 30.6%) |
| CIE-LAB | lab(35.31, 24.85, -57.88) |
| CIE-LCH | lch(35.31, 62.99, 293.24°) |
| OKLab | oklab(45.15% -0.0129 -0.1671) |
| OKLCH | oklch(45.15% 0.168 265.6) |
| XYZ | xyz(11.3242, 8.6563, 42.6605) |
| Luminance | 0.0866 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.67
Sapphire
#0F52BA
ΔE00 3.30
Blue Blue
#2242C7
ΔE00 4.34
Cobalt (survey)
#1E488F
ΔE00 5.19
Sapphire (survey)
#2138AB
ΔE00 5.89
Blue (survey)
#0343DF
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284BB1 #B18E28
analogous
#288FB1 #284BB1 #4A28B1
triadic
#284BB1 #B1284B #4BB128
tetradic
#284BB1 #B1288F #B18E28 #28B14A
square
#284BB1 #B1288F #B18E28 #28B14A
split-complementary
#284BB1 #B14A28 #8FB128
monochromatic
#11214D #1D367F #284BB1 #4267D4 #748FE0
Accessibility & contrast
On white
7.69
#284BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#284BB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284BB1
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284BB1 | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#004DAF
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #284bb1; /* rgb */ color: rgb(40, 75, 177); /* oklch */ color: oklch(45.2% 0.168 265.6);
Tailwind
colors: {
custom: {
50: '#777cc9',
500: '#284bb1',
950: '#000000',
},
}SCSS
$custom: #284bb1; $custom-light: #777cc9; $custom-dark: #000000;
JSON
{
"hex": "#284bb1",
"rgb": {
"r": 40,
"g": 75,
"b": 177
},
"hsl": {
"h": 224.672,
"s": 63.134,
"l": 42.549
},
"oklch": {
"l": 0.45152,
"c": 0.16757,
"h": 265.6
},
"luminance": 0.08658
}Semantic roles & 50–950 ramp
primary
#284BB1
secondary
#C7B06E
accent
#BC42E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82