#282487#282487

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

Color values

HEX#282487
RGBrgb(40, 36, 135)
HSLhsl(242, 58%, 34%)
HSVhsv(242, 73%, 53%)
CMYKcmyk(70.4%, 73.3%, 0%, 47.1%)
CIE-LABlab(21.81, 34.77, -54.40)
CIE-LCHlch(21.81, 64.57, 302.58°)
OKLaboklab(34.07% 0.0158 -0.1572)
OKLCHoklch(34.07% 0.158 275.8)
XYZxyz(5.8777, 3.4616, 23.2754)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282487 #838724
analogous
#245187 #282487 #592487
triadic
#282487 #872824 #248728
tetradic
#282487 #872451 #838724 #248759
square
#282487 #872451 #838724 #248759
split-complementary
#282487 #875924 #518724
monochromatic
#0B0A26 #1A1757 #282487 #3631B7 #5954D1

Accessibility & contrast

On white

12.41
#282487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282487
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282487#FFFFFF#000000##FFFFFF
##2824871.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282487;
/* rgb */ color: rgb(40, 36, 135);
/* oklch */ color: oklch(34.1% 0.158 275.8);
Tailwind
colors: {
  custom: {
    50: '#7060ab',
    500: '#282487',
    950: '#000000',
  },
}
SCSS
$custom: #282487;
$custom-light: #7060ab;
$custom-dark: #000000;
JSON
{
  "hex": "#282487",
  "rgb": {
    "r": 40,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 242.424,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34068,
    "c": 0.158,
    "h": 275.8
  },
  "luminance": 0.03462
}

Semantic roles & 50–950 ramp

primary
#282487
secondary
#B1B551
accent
#E147DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #282487

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

Preview Lab → · Contrast checker → · Palette generator →

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