#282587#282587

#282587 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.157 H 275.6°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#282587
RGBrgb(40, 37, 135)
HSLhsl(242, 57%, 34%)
HSVhsv(242, 73%, 53%)
CMYKcmyk(70.4%, 72.6%, 0%, 47.1%)
CIE-LABlab(22.03, 34.16, -54.04)
CIE-LCHlch(22.03, 63.93, 302.30°)
OKLaboklab(34.23% 0.0152 -0.1561)
OKLCHoklch(34.23% 0.157 275.6)
XYZxyz(5.9084, 3.5230, 23.2856)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282587 #848725
analogous
#255387 #282587 #592587
triadic
#282587 #872825 #258728
tetradic
#282587 #872553 #848725 #258759
square
#282587 #872553 #848725 #258759
split-complementary
#282587 #875925 #538725
monochromatic
#0C0B27 #1A1857 #282587 #3632B7 #5A56D1

Accessibility & contrast

On white

12.32
#282587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#282587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282587
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282587#FFFFFF#000000##FFFFFF
##2825871.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#003085
Tritanopia (blue-blind)
#004053
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #282587;
/* rgb */ color: rgb(40, 37, 135);
/* oklch */ color: oklch(34.2% 0.157 275.6);
Tailwind
colors: {
  custom: {
    50: '#7060ab',
    500: '#282587',
    950: '#000000',
  },
}
SCSS
$custom: #282587;
$custom-light: #7060ab;
$custom-dark: #000000;
JSON
{
  "hex": "#282587",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 241.837,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34227,
    "c": 0.15688,
    "h": 275.6
  },
  "luminance": 0.03524
}

Semantic roles & 50–950 ramp

primary
#282587
secondary
#B2B553
accent
#E048DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #282587

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

Preview Lab → · Contrast checker → · Palette generator →

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