#284ABA#284ABA
#284ABA is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.7% C 0.181 H 266.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #284ABA |
|---|---|
| RGB | rgb(40, 74, 186) |
| HSL | hsl(226, 65%, 44%) |
| HSV | hsv(226, 78%, 73%) |
| CMYK | cmyk(78.5%, 60.2%, 0%, 27.1%) |
| CIE-LAB | lab(35.78, 28.93, -62.44) |
| CIE-LCH | lch(35.78, 68.81, 294.86°) |
| OKLab | oklab(45.73% -0.0119 -0.1805) |
| OKLCH | oklch(45.73% 0.181 266.2) |
| XYZ | xyz(12.1837, 8.8924, 47.5191) |
| Luminance | 0.0889 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.11
Cobalt
#0047AB
ΔE00 3.56
Sapphire
#0F52BA
ΔE00 3.78
Blue (survey)
#0343DF
ΔE00 4.98
Sapphire (survey)
#2138AB
ΔE00 5.63
Ocean Blue
#4F42B5
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284ABA #BA9828
analogous
#2893BA #284ABA #4F28BA
triadic
#284ABA #BA284A #4ABA28
tetradic
#284ABA #BA2893 #BA9828 #28BA4F
square
#284ABA #BA2893 #BA9828 #28BA4F
split-complementary
#284ABA #BA4F28 #93BA28
monochromatic
#122255 #1D3688 #284ABA #4869D8 #7A92E2
Accessibility & contrast
On white
7.56
#284ABA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#284ABA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284ABA
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284ABA | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #284aba; /* rgb */ color: rgb(40, 74, 186); /* oklch */ color: oklch(45.7% 0.181 266.2);
Tailwind
colors: {
custom: {
50: '#797cd0',
500: '#284aba',
950: '#000000',
},
}SCSS
$custom: #284aba; $custom-light: #797cd0; $custom-dark: #000000;
JSON
{
"hex": "#284aba",
"rgb": {
"r": 40,
"g": 74,
"b": 186
},
"hsl": {
"h": 226.027,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.45725,
"c": 0.18086,
"h": 266.2
},
"luminance": 0.08894
}Semantic roles & 50–950 ramp
primary
#284ABA
secondary
#CAB673
accent
#C140E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82