#284584#284584

#284584 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.111 H 263.6°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#284584
RGBrgb(40, 69, 132)
HSLhsl(221, 53%, 34%)
HSVhsv(221, 70%, 52%)
CMYKcmyk(69.7%, 47.7%, 0%, 48.2%)
CIE-LABlab(30.33, 11.52, -38.67)
CIE-LCHlch(30.33, 40.35, 286.59°)
OKLaboklab(40.33% -0.0124 -0.1107)
OKLCHoklch(40.33% 0.111 263.6)
XYZxyz(7.1666, 6.3726, 22.6777)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284584 #846728
analogous
#287384 #284584 #392884
triadic
#284584 #842845 #458428
tetradic
#284584 #842873 #846728 #288439
square
#284584 #842873 #846728 #288439
split-complementary
#284584 #843928 #738428
monochromatic
#0C1426 #1A2C55 #284584 #365EB3 #5A7ECD

Accessibility & contrast

On white

9.23
#284584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#284584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284584
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284584#FFFFFF#000000##FFFFFF
##2845841.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254C86
Deuteranopia (green-blind)
#134383
Tritanopia (blue-blind)
#00545E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #284584;
/* rgb */ color: rgb(40, 69, 132);
/* oklch */ color: oklch(40.3% 0.111 263.6);
Tailwind
colors: {
  custom: {
    50: '#6d78a8',
    500: '#284584',
    950: '#000000',
  },
}
SCSS
$custom: #284584;
$custom-light: #6d78a8;
$custom-dark: #000000;
JSON
{
  "hex": "#284584",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 132
  },
  "hsl": {
    "h": 221.087,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40333,
    "c": 0.11136,
    "h": 263.6
  },
  "luminance": 0.06373
}

Semantic roles & 50–950 ramp

primary
#284584
secondary
#B29556
accent
#AF4BDD
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #284584

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

Preview Lab → · Contrast checker → · Palette generator →

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