#284C96#284C96
#284C96 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.129 H 262.7°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #284C96 |
|---|---|
| RGB | rgb(40, 76, 150) |
| HSL | hsl(220, 58%, 37%) |
| HSV | hsv(220, 73%, 59%) |
| CMYK | cmyk(73.3%, 49.3%, 0%, 41.2%) |
| CIE-LAB | lab(33.61, 13.76, -44.45) |
| CIE-LCH | lch(33.61, 46.53, 287.20°) |
| OKLab | oklab(43.23% -0.0163 -0.1275) |
| OKLCH | oklch(43.23% 0.129 262.7) |
| XYZ | xyz(8.9626, 7.8211, 29.8855) |
| Luminance | 0.0782 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.74
Dusk Blue
#26538D
ΔE00 3.42
Cobalt
#0047AB
ΔE00 3.47
Sapphire
#0F52BA
ΔE00 4.89
Darkish Blue
#014182
ΔE00 4.90
Denim Blue
#3B5B92
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284C96 #967228
analogous
#288396 #284C96 #3B2896
triadic
#284C96 #96284C #4C9628
tetradic
#284C96 #962883 #967228 #28963B
square
#284C96 #962883 #967228 #28963B
split-complementary
#284C96 #963B28 #839628
monochromatic
#0E1B35 #1B3466 #284C96 #3564C6 #6388D5
Accessibility & contrast
On white
8.19
#284C96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#284C96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284C96
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284C96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284C96 | 1.00 | 8.19 | 2.56 | 8.19 |
| #FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#235499
Deuteranopia (green-blind)
#024A95
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #284c96; /* rgb */ color: rgb(40, 76, 150); /* oklch */ color: oklch(43.2% 0.129 262.7);
Tailwind
colors: {
custom: {
50: '#717db5',
500: '#284c96',
950: '#000000',
},
}SCSS
$custom: #284c96; $custom-light: #717db5; $custom-dark: #000000;
JSON
{
"hex": "#284c96",
"rgb": {
"r": 40,
"g": 76,
"b": 150
},
"hsl": {
"h": 220.364,
"s": 57.895,
"l": 37.255
},
"oklch": {
"l": 0.4323,
"c": 0.12858,
"h": 262.7
},
"luminance": 0.07822
}Semantic roles & 50–950 ramp
primary
#284C96
secondary
#BB9D5F
accent
#AF47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80