#284BB5#284BB5
#284BB5 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.5% C 0.173 H 265.8°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #284BB5 |
|---|---|
| RGB | rgb(40, 75, 181) |
| HSL | hsl(225, 64%, 43%) |
| HSV | hsv(225, 78%, 71%) |
| CMYK | cmyk(77.9%, 58.6%, 0%, 29%) |
| CIE-LAB | lab(35.63, 26.38, -59.72) |
| CIE-LCH | lch(35.63, 65.29, 293.83°) |
| OKLab | oklab(45.49% -0.0127 -0.1725) |
| OKLCH | oklch(45.49% 0.173 265.8) |
| XYZ | xyz(11.7287, 8.8181, 44.7910) |
| Luminance | 0.0882 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.02
Sapphire
#0F52BA
ΔE00 3.33
Blue Blue
#2242C7
ΔE00 3.89
Cobalt (survey)
#1E488F
ΔE00 5.74
Blue (survey)
#0343DF
ΔE00 5.78
Sapphire (survey)
#2138AB
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284BB5 #B59228
analogous
#2891B5 #284BB5 #4B28B5
triadic
#284BB5 #B5284B #4BB528
tetradic
#284BB5 #B52891 #B59228 #28B54B
square
#284BB5 #B52891 #B59228 #28B54B
split-complementary
#284BB5 #B54B28 #91B528
monochromatic
#122151 #1D3683 #284BB5 #4469D6 #7791E1
Accessibility & contrast
On white
7.60
#284BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#284BB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284BB5
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284BB5 | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #284bb5; /* rgb */ color: rgb(40, 75, 181); /* oklch */ color: oklch(45.5% 0.173 265.8);
Tailwind
colors: {
custom: {
50: '#787ccc',
500: '#284bb5',
950: '#000000',
},
}SCSS
$custom: #284bb5; $custom-light: #787ccc; $custom-dark: #000000;
JSON
{
"hex": "#284bb5",
"rgb": {
"r": 40,
"g": 75,
"b": 181
},
"hsl": {
"h": 225.106,
"s": 63.801,
"l": 43.333
},
"oklch": {
"l": 0.4549,
"c": 0.17297,
"h": 265.8
},
"luminance": 0.08819
}Semantic roles & 50–950 ramp
primary
#284BB5
secondary
#C8B370
accent
#BE41E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82