#282489#282489

#282489 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.161 H 275.5°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#282489
RGBrgb(40, 36, 137)
HSLhsl(242, 58%, 34%)
HSVhsv(242, 74%, 54%)
CMYKcmyk(70.8%, 73.7%, 0%, 46.3%)
CIE-LABlab(22.01, 35.46, -55.32)
CIE-LCHlch(22.01, 65.71, 302.66°)
OKLaboklab(34.28% 0.0155 -0.1599)
OKLCHoklch(34.28% 0.161 275.5)
XYZxyz(6.0198, 3.5185, 24.0239)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282489 #858924
analogous
#245389 #282489 #5B2489
triadic
#282489 #892824 #248928
tetradic
#282489 #892453 #858924 #24895B
square
#282489 #892453 #858924 #24895B
split-complementary
#282489 #895B24 #538924
monochromatic
#0C0B28 #1A1759 #282489 #3631B9 #5A55D2

Accessibility & contrast

On white

12.33
#282489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282489
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282489#FFFFFF#000000##FFFFFF
##2824891.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #282489;
/* rgb */ color: rgb(40, 36, 137);
/* oklch */ color: oklch(34.3% 0.161 275.5);
Tailwind
colors: {
  custom: {
    50: '#7160ac',
    500: '#282489',
    950: '#000000',
  },
}
SCSS
$custom: #282489;
$custom-light: #7160ac;
$custom-dark: #000000;
JSON
{
  "hex": "#282489",
  "rgb": {
    "r": 40,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 242.376,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34277,
    "c": 0.16062,
    "h": 275.5
  },
  "luminance": 0.03519
}

Semantic roles & 50–950 ramp

primary
#282489
secondary
#B3B752
accent
#E246DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #282489

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

Preview Lab → · Contrast checker → · Palette generator →

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