#284896#284896
#284896 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.134 H 264.6°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #284896 |
|---|---|
| RGB | rgb(40, 72, 150) |
| HSL | hsl(223, 58%, 37%) |
| HSV | hsv(223, 73%, 59%) |
| CMYK | cmyk(73.3%, 52%, 0%, 41.2%) |
| CIE-LAB | lab(32.45, 16.46, -46.31) |
| CIE-LCH | lch(32.45, 49.15, 289.56°) |
| OKLab | oklab(42.35% -0.0127 -0.1331) |
| OKLCH | oklch(42.35% 0.134 264.6) |
| XYZ | xyz(8.6955, 7.2869, 29.7965) |
| Luminance | 0.0729 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.89
Cobalt
#0047AB
ΔE00 3.22
Darkish Blue
#014182
ΔE00 4.72
Dusk Blue
#26538D
ΔE00 4.80
Twilight Blue
#0A437A
ΔE00 5.48
Sapphire
#0F52BA
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284896 #967628
analogous
#287F96 #284896 #3F2896
triadic
#284896 #962848 #489628
tetradic
#284896 #96287F #967628 #28963F
square
#284896 #96287F #967628 #28963F
split-complementary
#284896 #963F28 #7F9628
monochromatic
#0E1A35 #1B3166 #284896 #355FC6 #6384D5
Accessibility & contrast
On white
8.54
#284896 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#284896 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284896
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284896 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284896 | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#185299
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #284896; /* rgb */ color: rgb(40, 72, 150); /* oklch */ color: oklch(42.3% 0.134 264.6);
Tailwind
colors: {
custom: {
50: '#717ab5',
500: '#284896',
950: '#000000',
},
}SCSS
$custom: #284896; $custom-light: #717ab5; $custom-dark: #000000;
JSON
{
"hex": "#284896",
"rgb": {
"r": 40,
"g": 72,
"b": 150
},
"hsl": {
"h": 222.545,
"s": 57.895,
"l": 37.255
},
"oklch": {
"l": 0.42348,
"c": 0.13371,
"h": 264.6
},
"luminance": 0.07288
}Semantic roles & 50–950 ramp
primary
#284896
secondary
#BBA05F
accent
#B447E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80