#284FAE#284FAE
#284FAE is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.7% C 0.158 H 264.2°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #284FAE |
|---|---|
| RGB | rgb(40, 79, 174) |
| HSL | hsl(223, 63%, 42%) |
| HSV | hsv(223, 77%, 68%) |
| CMYK | cmyk(77%, 54.6%, 0%, 31.8%) |
| CIE-LAB | lab(36.17, 21.04, -54.70) |
| CIE-LCH | lch(36.17, 58.61, 291.04°) |
| OKLab | oklab(45.73% -0.016 -0.1577) |
| OKLCH | oklch(45.73% 0.158 264.2) |
| XYZ | xyz(11.3083, 9.0978, 41.1963) |
| Luminance | 0.0910 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.28
Cobalt
#0047AB
ΔE00 2.95
Cobalt (survey)
#1E488F
ΔE00 4.77
Dusk Blue
#26538D
ΔE00 5.20
Denim Blue
#3B5B92
ΔE00 5.57
Blue Blue
#2242C7
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284FAE #AE8728
analogous
#2892AE #284FAE #4428AE
triadic
#284FAE #AE284F #4FAE28
tetradic
#284FAE #AE2892 #AE8728 #28AE44
square
#284FAE #AE2892 #AE8728 #28AE44
split-complementary
#284FAE #AE4428 #92AE28
monochromatic
#11224A #1D387C #284FAE #406BD3 #7291DF
Accessibility & contrast
On white
7.45
#284FAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#284FAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284FAE
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284FAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284FAE | 1.00 | 7.45 | 2.82 | 7.45 |
| #FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB1
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #284fae; /* rgb */ color: rgb(40, 79, 174); /* oklch */ color: oklch(45.7% 0.158 264.2);
Tailwind
colors: {
custom: {
50: '#767fc7',
500: '#284fae',
950: '#000000',
},
}SCSS
$custom: #284fae; $custom-light: #767fc7; $custom-dark: #000000;
JSON
{
"hex": "#284fae",
"rgb": {
"r": 40,
"g": 79,
"b": 174
},
"hsl": {
"h": 222.537,
"s": 62.617,
"l": 41.961
},
"oklch": {
"l": 0.45726,
"c": 0.15848,
"h": 264.2
},
"luminance": 0.09099
}Semantic roles & 50–950 ramp
primary
#284FAE
secondary
#C6AC6C
accent
#B642E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82