#284CB5#284CB5
#284CB5 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.7% C 0.172 H 265.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #284CB5 |
|---|---|
| RGB | rgb(40, 76, 181) |
| HSL | hsl(225, 64%, 43%) |
| HSV | hsv(225, 78%, 71%) |
| CMYK | cmyk(77.9%, 58%, 0%, 29%) |
| CIE-LAB | lab(35.90, 25.72, -59.29) |
| CIE-LCH | lch(35.90, 64.63, 293.45°) |
| OKLab | oklab(45.69% -0.0134 -0.1712) |
| OKLCH | oklch(45.69% 0.172 265.5) |
| XYZ | xyz(11.7971, 8.9548, 44.8138) |
| Luminance | 0.0896 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.03
Cobalt
#0047AB
ΔE00 3.04
Blue Blue
#2242C7
ΔE00 4.16
Cobalt (survey)
#1E488F
ΔE00 5.69
Blue (survey)
#0343DF
ΔE00 5.93
Sapphire (survey)
#2138AB
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284CB5 #B59128
analogous
#2892B5 #284CB5 #4A28B5
triadic
#284CB5 #B5284C #4CB528
tetradic
#284CB5 #B52892 #B59128 #28B54A
square
#284CB5 #B52892 #B59128 #28B54A
split-complementary
#284CB5 #B54A28 #92B528
monochromatic
#122251 #1D3783 #284CB5 #446AD6 #7792E1
Accessibility & contrast
On white
7.52
#284CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#284CB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284CB5
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284CB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284CB5 | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #284cb5; /* rgb */ color: rgb(40, 76, 181); /* oklch */ color: oklch(45.7% 0.172 265.5);
Tailwind
colors: {
custom: {
50: '#787dcc',
500: '#284cb5',
950: '#000000',
},
}SCSS
$custom: #284cb5; $custom-light: #787dcc; $custom-dark: #000000;
JSON
{
"hex": "#284cb5",
"rgb": {
"r": 40,
"g": 76,
"b": 181
},
"hsl": {
"h": 224.681,
"s": 63.801,
"l": 43.333
},
"oklch": {
"l": 0.45689,
"c": 0.17173,
"h": 265.5
},
"luminance": 0.08956
}Semantic roles & 50–950 ramp
primary
#284CB5
secondary
#C8B270
accent
#BC41E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82