#282989#282989

#282989 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.1% C 0.155 H 274.5°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#282989
RGBrgb(40, 41, 137)
HSLhsl(239, 55%, 35%)
HSVhsv(239, 71%, 54%)
CMYKcmyk(70.8%, 70.1%, 0%, 46.3%)
CIE-LABlab(23.14, 32.35, -53.45)
CIE-LCHlch(23.14, 62.48, 301.18°)
OKLaboklab(35.09% 0.0122 -0.1544)
OKLCHoklch(35.09% 0.155 274.5)
XYZxyz(6.1819, 3.8426, 24.0780)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282989 #898828
analogous
#285A89 #282989 #572889
triadic
#282989 #892829 #298928
tetradic
#282989 #89285A #898828 #288957
square
#282989 #89285A #898828 #288957
split-complementary
#282989 #895728 #5A8928
monochromatic
#0C0D2A #1A1B5A #282989 #3637B8 #5C5DCF

Accessibility & contrast

On white

11.87
#282989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#282989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282989
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282989#FFFFFF#000000##FFFFFF
##2829891.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003387
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #282989;
/* rgb */ color: rgb(40, 41, 137);
/* oklch */ color: oklch(35.1% 0.155 274.5);
Tailwind
colors: {
  custom: {
    50: '#7063ac',
    500: '#282989',
    950: '#000000',
  },
}
SCSS
$custom: #282989;
$custom-light: #7063ac;
$custom-dark: #000000;
JSON
{
  "hex": "#282989",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 239.381,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35091,
    "c": 0.15492,
    "h": 274.5
  },
  "luminance": 0.03843
}

Semantic roles & 50–950 ramp

primary
#282989
secondary
#B5B458
accent
#DD4ADE
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #282989

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

Preview Lab → · Contrast checker → · Palette generator →

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