#284585#284585

#284585 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.4% C 0.113 H 263.8°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#284585
RGBrgb(40, 69, 133)
HSLhsl(221, 54%, 34%)
HSVhsv(221, 70%, 52%)
CMYKcmyk(69.9%, 48.1%, 0%, 47.8%)
CIE-LABlab(30.40, 11.90, -39.18)
CIE-LCHlch(30.40, 40.95, 286.90°)
OKLaboklab(40.41% -0.0122 -0.1122)
OKLCHoklch(40.41% 0.113 263.8)
XYZxyz(7.2353, 6.4001, 23.0398)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284585 #856828
analogous
#287485 #284585 #3A2885
triadic
#284585 #852845 #458528
tetradic
#284585 #852874 #856828 #28853A
square
#284585 #852874 #856828 #28853A
split-complementary
#284585 #853A28 #748528
monochromatic
#0C1427 #1A2D56 #284585 #365DB4 #5A7ECD

Accessibility & contrast

On white

9.21
#284585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#284585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284585
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284585#FFFFFF#000000##FFFFFF
##2845851.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244C87
Deuteranopia (green-blind)
#114484
Tritanopia (blue-blind)
#00545E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #284585;
/* rgb */ color: rgb(40, 69, 133);
/* oklch */ color: oklch(40.4% 0.113 263.8);
Tailwind
colors: {
  custom: {
    50: '#6d78a9',
    500: '#284585',
    950: '#000000',
  },
}
SCSS
$custom: #284585;
$custom-light: #6d78a9;
$custom-dark: #000000;
JSON
{
  "hex": "#284585",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 133
  },
  "hsl": {
    "h": 221.29,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40406,
    "c": 0.11285,
    "h": 263.8
  },
  "luminance": 0.06401
}

Semantic roles & 50–950 ramp

primary
#284585
secondary
#B39656
accent
#AF4BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #284585

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

Preview Lab → · Contrast checker → · Palette generator →

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