#284587#284587

#284587 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.6% C 0.116 H 264.1°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#284587
RGBrgb(40, 69, 135)
HSLhsl(222, 54%, 34%)
HSVhsv(222, 70%, 53%)
CMYKcmyk(70.4%, 48.9%, 0%, 47.1%)
CIE-LABlab(30.53, 12.68, -40.20)
CIE-LCHlch(30.53, 42.15, 287.50°)
OKLaboklab(40.55% -0.0119 -0.1152)
OKLCHoklch(40.55% 0.116 264.1)
XYZxyz(7.3748, 6.4559, 23.7744)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284587 #876A28
analogous
#287587 #284587 #3A2887
triadic
#284587 #872845 #458728
tetradic
#284587 #872875 #876A28 #28873A
square
#284587 #872875 #876A28 #28873A
split-complementary
#284587 #873A28 #758728
monochromatic
#0C1529 #1A2D58 #284587 #365DB6 #5B7ECE

Accessibility & contrast

On white

9.16
#284587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#284587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284587
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284587#FFFFFF#000000##FFFFFF
##2845871.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224D89
Deuteranopia (green-blind)
#0C4486
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #284587;
/* rgb */ color: rgb(40, 69, 135);
/* oklch */ color: oklch(40.6% 0.116 264.1);
Tailwind
colors: {
  custom: {
    50: '#6e78aa',
    500: '#284587',
    950: '#000000',
  },
}
SCSS
$custom: #284587;
$custom-light: #6e78aa;
$custom-dark: #000000;
JSON
{
  "hex": "#284587",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 135
  },
  "hsl": {
    "h": 221.684,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40552,
    "c": 0.1158,
    "h": 264.1
  },
  "luminance": 0.06457
}

Semantic roles & 50–950 ramp

primary
#284587
secondary
#B49757
accent
#B14ADE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #284587

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

Preview Lab → · Contrast checker → · Palette generator →

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