#284C95#284C95
#284C95 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.127 H 262.6°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #284C95 |
|---|---|
| RGB | rgb(40, 76, 149) |
| HSL | hsl(220, 58%, 37%) |
| HSV | hsv(220, 73%, 58%) |
| CMYK | cmyk(73.2%, 49%, 0%, 41.6%) |
| CIE-LAB | lab(33.54, 13.37, -43.95) |
| CIE-LCH | lch(33.54, 45.94, 286.92°) |
| OKLab | oklab(43.16% -0.0164 -0.1261) |
| OKLCH | oklch(43.16% 0.127 262.6) |
| XYZ | xyz(8.8824, 7.7890, 29.4632) |
| Luminance | 0.0779 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.66
Dusk Blue
#26538D
ΔE00 3.34
Cobalt
#0047AB
ΔE00 3.57
Darkish Blue
#014182
ΔE00 4.82
Sapphire
#0F52BA
ΔE00 5.00
Light Navy
#155084
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284C95 #957128
analogous
#288395 #284C95 #3A2895
triadic
#284C95 #95284C #4C9528
tetradic
#284C95 #952883 #957128 #28953A
square
#284C95 #952883 #957128 #28953A
split-complementary
#284C95 #953A28 #839528
monochromatic
#0E1B35 #1B3365 #284C95 #3565C5 #6288D5
Accessibility & contrast
On white
8.21
#284C95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#284C95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284C95
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284C95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284C95 | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#245498
Deuteranopia (green-blind)
#054A94
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #284c95; /* rgb */ color: rgb(40, 76, 149); /* oklch */ color: oklch(43.2% 0.127 262.6);
Tailwind
colors: {
custom: {
50: '#717db5',
500: '#284c95',
950: '#000000',
},
}SCSS
$custom: #284c95; $custom-light: #717db5; $custom-dark: #000000;
JSON
{
"hex": "#284c95",
"rgb": {
"r": 40,
"g": 76,
"b": 149
},
"hsl": {
"h": 220.183,
"s": 57.672,
"l": 37.059
},
"oklch": {
"l": 0.43156,
"c": 0.12716,
"h": 262.6
},
"luminance": 0.0779
}Semantic roles & 50–950 ramp
primary
#284C95
secondary
#BB9C5E
accent
#AE47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80