#284CBA#284CBA
#284CBA is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.178 H 265.8°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #284CBA |
|---|---|
| RGB | rgb(40, 76, 186) |
| HSL | hsl(225, 65%, 44%) |
| HSV | hsv(225, 78%, 73%) |
| CMYK | cmyk(78.5%, 59.1%, 0%, 27.1%) |
| CIE-LAB | lab(36.30, 27.62, -61.58) |
| CIE-LCH | lch(36.30, 67.49, 294.15°) |
| OKLab | oklab(46.11% -0.0132 -0.1779) |
| OKLCH | oklch(46.11% 0.178 265.8) |
| XYZ | xyz(12.3193, 9.1638, 47.5644) |
| Luminance | 0.0916 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.19
Cobalt
#0047AB
ΔE00 3.54
Blue Blue
#2242C7
ΔE00 3.69
Blue (survey)
#0343DF
ΔE00 5.29
Sapphire (survey)
#2138AB
ΔE00 6.26
Cobalt (survey)
#1E488F
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284CBA #BA9628
analogous
#2895BA #284CBA #4D28BA
triadic
#284CBA #BA284C #4CBA28
tetradic
#284CBA #BA2895 #BA9628 #28BA4D
square
#284CBA #BA2895 #BA9628 #28BA4D
split-complementary
#284CBA #BA4D28 #95BA28
monochromatic
#122355 #1D3788 #284CBA #486BD8 #7A94E2
Accessibility & contrast
On white
7.41
#284CBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#284CBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284CBA
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284CBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284CBA | 1.00 | 7.41 | 2.83 | 7.41 |
| #FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #284cba; /* rgb */ color: rgb(40, 76, 186); /* oklch */ color: oklch(46.1% 0.178 265.8);
Tailwind
colors: {
custom: {
50: '#797dd0',
500: '#284cba',
950: '#000000',
},
}SCSS
$custom: #284cba; $custom-light: #797dd0; $custom-dark: #000000;
JSON
{
"hex": "#284cba",
"rgb": {
"r": 40,
"g": 76,
"b": 186
},
"hsl": {
"h": 225.205,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.46114,
"c": 0.17844,
"h": 265.8
},
"luminance": 0.09165
}Semantic roles & 50–950 ramp
primary
#284CBA
secondary
#CAB573
accent
#BE40E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82