#284591#284591

#284591 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.130 H 265.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#284591
RGBrgb(40, 69, 145)
HSLhsl(223, 57%, 36%)
HSVhsv(223, 72%, 57%)
CMYKcmyk(72.4%, 52.4%, 0%, 43.1%)
CIE-LABlab(31.23, 16.55, -45.23)
CIE-LCHlch(31.23, 48.16, 290.10°)
OKLaboklab(41.31% -0.0106 -0.13)
OKLCHoklch(41.31% 0.13 265.3)
XYZxyz(8.1122, 6.7509, 27.6581)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284591 #917428
analogous
#287A91 #284591 #402891
triadic
#284591 #912845 #459128
tetradic
#284591 #91287A #917428 #289140
square
#284591 #91287A #917428 #289140
split-complementary
#284591 #914028 #7A9128
monochromatic
#0E1731 #1B2E61 #284591 #355CC1 #6080D3

Accessibility & contrast

On white

8.93
#284591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#284591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284591
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284591#FFFFFF#000000##FFFFFF
##2845911.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164F94
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #284591;
/* rgb */ color: rgb(40, 69, 145);
/* oklch */ color: oklch(41.3% 0.130 265.3);
Tailwind
colors: {
  custom: {
    50: '#7078b2',
    500: '#284591',
    950: '#000000',
  },
}
SCSS
$custom: #284591;
$custom-light: #7078b2;
$custom-dark: #000000;
JSON
{
  "hex": "#284591",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 223.429,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41308,
    "c": 0.1304,
    "h": 265.3
  },
  "luminance": 0.06752
}

Semantic roles & 50–950 ramp

primary
#284591
secondary
#B99F5C
accent
#B648E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #284591

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

Preview Lab → · Contrast checker → · Palette generator →

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