#282589#282589

#282589 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.160 H 275.3°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#282589
RGBrgb(40, 37, 137)
HSLhsl(242, 57%, 34%)
HSVhsv(242, 73%, 54%)
CMYKcmyk(70.8%, 73%, 0%, 46.3%)
CIE-LABlab(22.23, 34.86, -54.96)
CIE-LCHlch(22.23, 65.08, 302.39°)
OKLaboklab(34.43% 0.0148 -0.1588)
OKLCHoklch(34.43% 0.16 275.3)
XYZxyz(6.0505, 3.5798, 24.0342)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282589 #868925
analogous
#255489 #282589 #5A2589
triadic
#282589 #892825 #258928
tetradic
#282589 #892554 #868925 #25895A
square
#282589 #892554 #868925 #25895A
split-complementary
#282589 #895A25 #548925
monochromatic
#0C0B29 #1A1859 #282589 #3632B9 #5B57D2

Accessibility & contrast

On white

12.24
#282589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#282589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282589
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282589#FFFFFF#000000##FFFFFF
##2825891.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003187
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #282589;
/* rgb */ color: rgb(40, 37, 137);
/* oklch */ color: oklch(34.4% 0.160 275.3);
Tailwind
colors: {
  custom: {
    50: '#7160ac',
    500: '#282589',
    950: '#000000',
  },
}
SCSS
$custom: #282589;
$custom-light: #7160ac;
$custom-dark: #000000;
JSON
{
  "hex": "#282589",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 241.8,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34434,
    "c": 0.15951,
    "h": 275.3
  },
  "luminance": 0.0358
}

Semantic roles & 50–950 ramp

primary
#282589
secondary
#B3B654
accent
#E147DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #282589

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

Preview Lab → · Contrast checker → · Palette generator →

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