#284BA2#284BA2
#284BA2 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.147 H 264.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #284BA2 |
|---|---|
| RGB | rgb(40, 75, 162) |
| HSL | hsl(223, 60%, 40%) |
| HSV | hsv(223, 75%, 64%) |
| CMYK | cmyk(75.3%, 53.7%, 0%, 36.5%) |
| CIE-LAB | lab(34.17, 19.08, -50.78) |
| CIE-LCH | lch(34.17, 54.25, 290.59°) |
| OKLab | oklab(43.93% -0.014 -0.1462) |
| OKLCH | oklch(43.93% 0.147 264.5) |
| XYZ | xyz(9.9104, 8.0908, 35.2148) |
| Luminance | 0.0809 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.37
Cobalt (survey)
#1E488F
ΔE00 3.13
Sapphire
#0F52BA
ΔE00 3.94
Dusk Blue
#26538D
ΔE00 4.82
Denim Blue
#3B5B92
ΔE00 5.88
Darkish Blue
#014182
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284BA2 #A27F28
analogous
#2888A2 #284BA2 #4228A2
triadic
#284BA2 #A2284B #4BA228
tetradic
#284BA2 #A22888 #A27F28 #28A242
square
#284BA2 #A22888 #A27F28 #28A242
split-complementary
#284BA2 #A24228 #88A228
monochromatic
#101E40 #1C3471 #284BA2 #3964CE #6A8ADA
Accessibility & contrast
On white
8.02
#284BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#284BA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284BA2
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284BA2 | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B56A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #284ba2; /* rgb */ color: rgb(40, 75, 162); /* oklch */ color: oklch(43.9% 0.147 264.5);
Tailwind
colors: {
custom: {
50: '#747cbe',
500: '#284ba2',
950: '#000000',
},
}SCSS
$custom: #284ba2; $custom-light: #747cbe; $custom-dark: #000000;
JSON
{
"hex": "#284ba2",
"rgb": {
"r": 40,
"g": 75,
"b": 162
},
"hsl": {
"h": 222.787,
"s": 60.396,
"l": 39.608
},
"oklch": {
"l": 0.4393,
"c": 0.14687,
"h": 264.5
},
"luminance": 0.08092
}Semantic roles & 50–950 ramp
primary
#284BA2
secondary
#C1A665
accent
#B644E4
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81