#284C98#284C98
#284C98 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.4% C 0.131 H 263.0°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #284C98 |
|---|---|
| RGB | rgb(40, 76, 152) |
| HSL | hsl(221, 58%, 38%) |
| HSV | hsv(221, 74%, 60%) |
| CMYK | cmyk(73.7%, 50%, 0%, 40.4%) |
| CIE-LAB | lab(33.74, 14.53, -45.44) |
| CIE-LCH | lch(33.74, 47.71, 287.73°) |
| OKLab | oklab(43.38% -0.016 -0.1305) |
| OKLCH | oklch(43.38% 0.131 263) |
| XYZ | xyz(9.1250, 7.8860, 30.7409) |
| Luminance | 0.0789 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.93
Cobalt
#0047AB
ΔE00 3.26
Dusk Blue
#26538D
ΔE00 3.58
Sapphire
#0F52BA
ΔE00 4.68
Darkish Blue
#014182
ΔE00 5.08
Denim Blue
#3B5B92
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284C98 #987428
analogous
#288498 #284C98 #3C2898
triadic
#284C98 #98284C #4C9828
tetradic
#284C98 #982884 #987428 #28983C
square
#284C98 #982884 #987428 #28983C
split-complementary
#284C98 #983C28 #849828
monochromatic
#0F1C37 #1B3468 #284C98 #3564C8 #6489D6
Accessibility & contrast
On white
8.15
#284C98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#284C98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284C98
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284C98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284C98 | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21559B
Deuteranopia (green-blind)
#004B96
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #284c98; /* rgb */ color: rgb(40, 76, 152); /* oklch */ color: oklch(43.4% 0.131 263.0);
Tailwind
colors: {
custom: {
50: '#717db7',
500: '#284c98',
950: '#000000',
},
}SCSS
$custom: #284c98; $custom-light: #717db7; $custom-dark: #000000;
JSON
{
"hex": "#284c98",
"rgb": {
"r": 40,
"g": 76,
"b": 152
},
"hsl": {
"h": 220.714,
"s": 58.333,
"l": 37.647
},
"oklch": {
"l": 0.43379,
"c": 0.13145,
"h": 263
},
"luminance": 0.07887
}Semantic roles & 50–950 ramp
primary
#284C98
secondary
#BC9E60
accent
#B046E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80