#284694#284694
#284694 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.8% C 0.133 H 265.2°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #284694 |
|---|---|
| RGB | rgb(40, 70, 148) |
| HSL | hsl(223, 57%, 37%) |
| HSV | hsv(223, 73%, 58%) |
| CMYK | cmyk(73%, 52.7%, 0%, 42%) |
| CIE-LAB | lab(31.74, 17.03, -46.25) |
| CIE-LCH | lch(31.74, 49.29, 290.22°) |
| OKLab | oklab(41.76% -0.0111 -0.133) |
| OKLCH | oklch(41.76% 0.133 265.2) |
| XYZ | xyz(8.4086, 6.9687, 28.9132) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.14
Cobalt
#0047AB
ΔE00 3.52
Darkish Blue
#014182
ΔE00 4.59
Dusk Blue
#26538D
ΔE00 5.38
Twilight Blue
#0A437A
ΔE00 5.44
Blueberry
#464196
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284694 #947628
analogous
#287C94 #284694 #402894
triadic
#284694 #942846 #469428
tetradic
#284694 #94287C #947628 #289440
square
#284694 #94287C #947628 #289440
split-complementary
#284694 #944028 #7C9428
monochromatic
#0E1834 #1B2F64 #284694 #355DC4 #6282D5
Accessibility & contrast
On white
8.77
#284694 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#284694 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284694
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284694 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284694 | 1.00 | 8.77 | 2.39 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#145097
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#005966
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #284694; /* rgb */ color: rgb(40, 70, 148); /* oklch */ color: oklch(41.8% 0.133 265.2);
Tailwind
colors: {
custom: {
50: '#7179b4',
500: '#284694',
950: '#000000',
},
}SCSS
$custom: #284694; $custom-light: #7179b4; $custom-dark: #000000;
JSON
{
"hex": "#284694",
"rgb": {
"r": 40,
"g": 70,
"b": 148
},
"hsl": {
"h": 223.333,
"s": 57.447,
"l": 36.863
},
"oklch": {
"l": 0.41758,
"c": 0.13343,
"h": 265.2
},
"luminance": 0.0697
}Semantic roles & 50–950 ramp
primary
#284694
secondary
#BAA05E
accent
#B647E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80