#284AA1#284AA1
#284AA1 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.6% C 0.147 H 264.8°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #284AA1 |
|---|---|
| RGB | rgb(40, 74, 161) |
| HSL | hsl(223, 60%, 39%) |
| HSV | hsv(223, 75%, 63%) |
| CMYK | cmyk(75.2%, 54%, 0%, 36.9%) |
| CIE-LAB | lab(33.82, 19.37, -50.75) |
| CIE-LCH | lch(33.82, 54.32, 290.89°) |
| OKLab | oklab(43.64% -0.0132 -0.1461) |
| OKLCH | oklch(43.64% 0.147 264.8) |
| XYZ | xyz(9.7546, 7.9208, 34.7261) |
| Luminance | 0.0792 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.35
Cobalt (survey)
#1E488F
ΔE00 3.05
Sapphire
#0F52BA
ΔE00 4.25
Dusk Blue
#26538D
ΔE00 5.02
Darkish Blue
#014182
ΔE00 5.93
Denim Blue
#3B5B92
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284AA1 #A17F28
analogous
#2887A1 #284AA1 #4228A1
triadic
#284AA1 #A1284A #4AA128
tetradic
#284AA1 #A12887 #A17F28 #28A142
square
#284AA1 #A12887 #A17F28 #28A142
split-complementary
#284AA1 #A14228 #87A128
monochromatic
#101D3F #1C3370 #284AA1 #3962CE #6A89DA
Accessibility & contrast
On white
8.13
#284AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#284AA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284AA1
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284AA1 | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0855A4
Deuteranopia (green-blind)
#004A9F
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #284aa1; /* rgb */ color: rgb(40, 74, 161); /* oklch */ color: oklch(43.6% 0.147 264.8);
Tailwind
colors: {
custom: {
50: '#737cbd',
500: '#284aa1',
950: '#000000',
},
}SCSS
$custom: #284aa1; $custom-light: #737cbd; $custom-dark: #000000;
JSON
{
"hex": "#284aa1",
"rgb": {
"r": 40,
"g": 74,
"b": 161
},
"hsl": {
"h": 223.14,
"s": 60.199,
"l": 39.412
},
"oklch": {
"l": 0.43639,
"c": 0.14675,
"h": 264.8
},
"luminance": 0.07922
}Semantic roles & 50–950 ramp
primary
#284AA1
secondary
#C0A665
accent
#B744E3
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81