#284CA2#284CA2
#284CA2 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.1% C 0.146 H 264.2°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #284CA2 |
|---|---|
| RGB | rgb(40, 76, 162) |
| HSL | hsl(222, 60%, 40%) |
| HSV | hsv(222, 75%, 64%) |
| CMYK | cmyk(75.3%, 53.1%, 0%, 36.5%) |
| CIE-LAB | lab(34.45, 18.41, -50.33) |
| CIE-LCH | lch(34.45, 53.59, 290.09°) |
| OKLab | oklab(44.14% -0.0148 -0.1448) |
| OKLCH | oklch(44.14% 0.146 264.2) |
| XYZ | xyz(9.9788, 8.2275, 35.2376) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.48
Cobalt (survey)
#1E488F
ΔE00 3.12
Sapphire
#0F52BA
ΔE00 3.73
Dusk Blue
#26538D
ΔE00 4.54
Denim Blue
#3B5B92
ΔE00 5.57
Darkish Blue
#014182
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284CA2 #A27E28
analogous
#2889A2 #284CA2 #4128A2
triadic
#284CA2 #A2284C #4CA228
tetradic
#284CA2 #A22889 #A27E28 #28A241
square
#284CA2 #A22889 #A27E28 #28A241
split-complementary
#284CA2 #A24128 #89A228
monochromatic
#101E40 #1C3571 #284CA2 #3965CE #6A8BDA
Accessibility & contrast
On white
7.94
#284CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#284CA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284CA2
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284CA2 | 1.00 | 7.94 | 2.65 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1057A5
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #284ca2; /* rgb */ color: rgb(40, 76, 162); /* oklch */ color: oklch(44.1% 0.146 264.2);
Tailwind
colors: {
custom: {
50: '#747dbe',
500: '#284ca2',
950: '#000000',
},
}SCSS
$custom: #284ca2; $custom-light: #747dbe; $custom-dark: #000000;
JSON
{
"hex": "#284ca2",
"rgb": {
"r": 40,
"g": 76,
"b": 162
},
"hsl": {
"h": 222.295,
"s": 60.396,
"l": 39.608
},
"oklch": {
"l": 0.44144,
"c": 0.1456,
"h": 264.2
},
"luminance": 0.08229
}Semantic roles & 50–950 ramp
primary
#284CA2
secondary
#C1A665
accent
#B544E4
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81