#282585#282585

#282585 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.154 H 275.8°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#282585
RGBrgb(40, 37, 133)
HSLhsl(242, 56%, 33%)
HSVhsv(242, 72%, 52%)
CMYKcmyk(69.9%, 72.2%, 0%, 47.8%)
CIE-LABlab(21.83, 33.46, -53.11)
CIE-LCHlch(21.83, 62.77, 302.21°)
OKLaboklab(34.02% 0.0155 -0.1534)
OKLCHoklch(34.02% 0.154 275.8)
XYZxyz(5.7689, 3.4672, 22.5510)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282585 #828525
analogous
#255285 #282585 #582585
triadic
#282585 #852825 #258528
tetradic
#282585 #852552 #828525 #258558
square
#282585 #852552 #828525 #258558
split-complementary
#282585 #855825 #528525
monochromatic
#0B0A25 #1A1855 #282585 #3632B5 #5955D0

Accessibility & contrast

On white

12.40
#282585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#282585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282585
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282585#FFFFFF#000000##FFFFFF
##2825851.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #282585;
/* rgb */ color: rgb(40, 37, 133);
/* oklch */ color: oklch(34.0% 0.154 275.8);
Tailwind
colors: {
  custom: {
    50: '#7060a9',
    500: '#282585',
    950: '#000000',
  },
}
SCSS
$custom: #282585;
$custom-light: #7060a9;
$custom-dark: #000000;
JSON
{
  "hex": "#282585",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 241.875,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34021,
    "c": 0.15422,
    "h": 275.8
  },
  "luminance": 0.03468
}

Semantic roles & 50–950 ramp

primary
#282585
secondary
#B1B452
accent
#E048DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #282585

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

Preview Lab → · Contrast checker → · Palette generator →

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