#284590#284590

#284590 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.2% C 0.129 H 265.2°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#284590
RGBrgb(40, 69, 144)
HSLhsl(223, 57%, 36%)
HSVhsv(223, 72%, 56%)
CMYKcmyk(72.2%, 52.1%, 0%, 43.5%)
CIE-LABlab(31.16, 16.17, -44.73)
CIE-LCHlch(31.16, 47.56, 289.87°)
OKLaboklab(41.23% -0.0107 -0.1285)
OKLCHoklch(41.23% 0.129 265.2)
XYZxyz(8.0355, 6.7201, 27.2538)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284590 #907328
analogous
#287990 #284590 #3F2890
triadic
#284590 #902845 #459028
tetradic
#284590 #902879 #907328 #28903F
square
#284590 #902879 #907328 #28903F
split-complementary
#284590 #903F28 #799028
monochromatic
#0D1730 #1B2E60 #284590 #355CC0 #6080D3

Accessibility & contrast

On white

8.96
#284590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#284590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284590
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284590#FFFFFF#000000##FFFFFF
##2845901.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174E93
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #284590;
/* rgb */ color: rgb(40, 69, 144);
/* oklch */ color: oklch(41.2% 0.129 265.2);
Tailwind
colors: {
  custom: {
    50: '#7078b1',
    500: '#284590',
    950: '#000000',
  },
}
SCSS
$custom: #284590;
$custom-light: #7078b1;
$custom-dark: #000000;
JSON
{
  "hex": "#284590",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 144
  },
  "hsl": {
    "h": 223.269,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4123,
    "c": 0.12896,
    "h": 265.2
  },
  "luminance": 0.06721
}

Semantic roles & 50–950 ramp

primary
#284590
secondary
#B89E5C
accent
#B548E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #284590

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#284590 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva