#284EB9#284EB9
#284EB9 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.175 H 265.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #284EB9 |
|---|---|
| RGB | rgb(40, 78, 185) |
| HSL | hsl(224, 64%, 44%) |
| HSV | hsv(224, 78%, 73%) |
| CMYK | cmyk(78.4%, 57.8%, 0%, 27.5%) |
| CIE-LAB | lab(36.75, 25.92, -60.27) |
| CIE-LCH | lch(36.75, 65.60, 293.27°) |
| OKLab | oklab(46.42% -0.0146 -0.174) |
| OKLCH | oklch(46.42% 0.175 265.2) |
| XYZ | xyz(12.3533, 9.4013, 47.0531) |
| Luminance | 0.0940 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.57
Cobalt
#0047AB
ΔE00 3.56
Blue Blue
#2242C7
ΔE00 4.38
Blue (survey)
#0343DF
ΔE00 5.78
Cobalt (survey)
#1E488F
ΔE00 6.20
Dusk Blue
#26538D
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284EB9 #B99328
analogous
#2897B9 #284EB9 #4B28B9
triadic
#284EB9 #B9284E #4EB928
tetradic
#284EB9 #B92897 #B99328 #28B94B
square
#284EB9 #B92897 #B99328 #28B94B
split-complementary
#284EB9 #B94B28 #97B928
monochromatic
#122454 #1D3987 #284EB9 #476DD7 #7995E2
Accessibility & contrast
On white
7.29
#284EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#284EB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284EB9
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284EB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284EB9 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #284eb9; /* rgb */ color: rgb(40, 78, 185); /* oklch */ color: oklch(46.4% 0.175 265.2);
Tailwind
colors: {
custom: {
50: '#797fcf',
500: '#284eb9',
950: '#000000',
},
}SCSS
$custom: #284eb9; $custom-light: #797fcf; $custom-dark: #000000;
JSON
{
"hex": "#284eb9",
"rgb": {
"r": 40,
"g": 78,
"b": 185
},
"hsl": {
"h": 224.276,
"s": 64.444,
"l": 44.118
},
"oklch": {
"l": 0.46424,
"c": 0.17465,
"h": 265.2
},
"luminance": 0.09403
}Semantic roles & 50–950 ramp
primary
#284EB9
secondary
#CAB373
accent
#BC40E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82