#284CAE#284CAE
#284CAE is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.1% C 0.162 H 265.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #284CAE |
|---|---|
| RGB | rgb(40, 76, 174) |
| HSL | hsl(224, 63%, 42%) |
| HSV | hsv(224, 77%, 68%) |
| CMYK | cmyk(77%, 56.3%, 0%, 31.8%) |
| CIE-LAB | lab(35.35, 23.04, -56.04) |
| CIE-LCH | lch(35.35, 60.59, 292.35°) |
| OKLab | oklab(45.11% -0.0138 -0.1616) |
| OKLCH | oklch(45.11% 0.162 265.1) |
| XYZ | xyz(11.0968, 8.6747, 41.1257) |
| Luminance | 0.0868 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.52
Sapphire
#0F52BA
ΔE00 3.05
Cobalt (survey)
#1E488F
ΔE00 4.74
Blue Blue
#2242C7
ΔE00 4.95
Dusk Blue
#26538D
ΔE00 5.84
Sapphire (survey)
#2138AB
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284CAE #AE8A28
analogous
#288FAE #284CAE #4728AE
triadic
#284CAE #AE284C #4CAE28
tetradic
#284CAE #AE288F #AE8A28 #28AE47
square
#284CAE #AE288F #AE8A28 #28AE47
split-complementary
#284CAE #AE4728 #8FAE28
monochromatic
#11214A #1D367C #284CAE #4068D3 #728FDF
Accessibility & contrast
On white
7.68
#284CAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#284CAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284CAE
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284CAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284CAE | 1.00 | 7.68 | 2.74 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #284cae; /* rgb */ color: rgb(40, 76, 174); /* oklch */ color: oklch(45.1% 0.162 265.1);
Tailwind
colors: {
custom: {
50: '#767dc7',
500: '#284cae',
950: '#000000',
},
}SCSS
$custom: #284cae; $custom-light: #767dc7; $custom-dark: #000000;
JSON
{
"hex": "#284cae",
"rgb": {
"r": 40,
"g": 76,
"b": 174
},
"hsl": {
"h": 223.881,
"s": 62.617,
"l": 41.961
},
"oklch": {
"l": 0.45106,
"c": 0.16224,
"h": 265.1
},
"luminance": 0.08676
}Semantic roles & 50–950 ramp
primary
#284CAE
secondary
#C6AE6C
accent
#BA42E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82