#284EB5#284EB5
#284EB5 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.169 H 265.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #284EB5 |
|---|---|
| RGB | rgb(40, 78, 181) |
| HSL | hsl(224, 64%, 43%) |
| HSV | hsv(224, 78%, 71%) |
| CMYK | cmyk(77.9%, 56.9%, 0%, 29%) |
| CIE-LAB | lab(36.43, 24.39, -58.42) |
| CIE-LCH | lch(36.43, 63.31, 292.66°) |
| OKLab | oklab(46.09% -0.0148 -0.1686) |
| OKLCH | oklch(46.09% 0.169 265) |
| XYZ | xyz(11.9370, 9.2347, 44.8605) |
| Luminance | 0.0924 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.45
Cobalt
#0047AB
ΔE00 3.21
Blue Blue
#2242C7
ΔE00 4.74
Cobalt (survey)
#1E488F
ΔE00 5.66
Dusk Blue
#26538D
ΔE00 6.23
Blue (survey)
#0343DF
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284EB5 #B58F28
analogous
#2894B5 #284EB5 #4828B5
triadic
#284EB5 #B5284E #4EB528
tetradic
#284EB5 #B52894 #B58F28 #28B548
square
#284EB5 #B52894 #B58F28 #28B548
split-complementary
#284EB5 #B54828 #94B528
monochromatic
#122351 #1D3883 #284EB5 #446CD6 #7793E1
Accessibility & contrast
On white
7.38
#284EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#284EB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284EB5
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284EB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284EB5 | 1.00 | 7.38 | 2.85 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #284eb5; /* rgb */ color: rgb(40, 78, 181); /* oklch */ color: oklch(46.1% 0.169 265.0);
Tailwind
colors: {
custom: {
50: '#787fcc',
500: '#284eb5',
950: '#000000',
},
}SCSS
$custom: #284eb5; $custom-light: #787fcc; $custom-dark: #000000;
JSON
{
"hex": "#284eb5",
"rgb": {
"r": 40,
"g": 78,
"b": 181
},
"hsl": {
"h": 223.83,
"s": 63.801,
"l": 43.333
},
"oklch": {
"l": 0.46091,
"c": 0.16927,
"h": 265
},
"luminance": 0.09236
}Semantic roles & 50–950 ramp
primary
#284EB5
secondary
#C8B170
accent
#BA41E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82