#284C99#284C99
#284C99 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.5% C 0.133 H 263.1°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #284C99 |
|---|---|
| RGB | rgb(40, 76, 153) |
| HSL | hsl(221, 59%, 38%) |
| HSV | hsv(221, 74%, 60%) |
| CMYK | cmyk(73.9%, 50.3%, 0%, 40%) |
| CIE-LAB | lab(33.81, 14.92, -45.93) |
| CIE-LCH | lch(33.81, 48.30, 287.99°) |
| OKLab | oklab(43.45% -0.0158 -0.1319) |
| OKLCH | oklch(43.45% 0.133 263.1) |
| XYZ | xyz(9.2072, 7.9189, 31.1741) |
| Luminance | 0.0792 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.03
Cobalt
#0047AB
ΔE00 3.17
Dusk Blue
#26538D
ΔE00 3.67
Sapphire
#0F52BA
ΔE00 4.58
Denim Blue
#3B5B92
ΔE00 5.16
Darkish Blue
#014182
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284C99 #997528
analogous
#288499 #284C99 #3D2899
triadic
#284C99 #99284C #4C9928
tetradic
#284C99 #992884 #997528 #28993D
square
#284C99 #992884 #997528 #28993D
split-complementary
#284C99 #993D28 #849928
monochromatic
#0F1C38 #1B3468 #284C99 #3564CA #6589D7
Accessibility & contrast
On white
8.13
#284C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#284C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284C99
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284C99 | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F559C
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #284c99; /* rgb */ color: rgb(40, 76, 153); /* oklch */ color: oklch(43.5% 0.133 263.1);
Tailwind
colors: {
custom: {
50: '#727db8',
500: '#284c99',
950: '#000000',
},
}SCSS
$custom: #284c99; $custom-light: #727db8; $custom-dark: #000000;
JSON
{
"hex": "#284c99",
"rgb": {
"r": 40,
"g": 76,
"b": 153
},
"hsl": {
"h": 220.885,
"s": 58.549,
"l": 37.843
},
"oklch": {
"l": 0.43454,
"c": 0.13288,
"h": 263.1
},
"luminance": 0.0792
}Semantic roles & 50–950 ramp
primary
#284C99
secondary
#BD9F60
accent
#B046E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80