#282789#282789

#282789 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.157 H 274.9°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#282789
RGBrgb(40, 39, 137)
HSLhsl(241, 56%, 35%)
HSVhsv(241, 72%, 54%)
CMYKcmyk(70.8%, 71.5%, 0%, 46.3%)
CIE-LABlab(22.68, 33.62, -54.22)
CIE-LCHlch(22.68, 63.79, 301.80°)
OKLaboklab(34.76% 0.0135 -0.1567)
OKLCHoklch(34.76% 0.157 274.9)
XYZxyz(6.1145, 3.7077, 24.0555)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282789 #888927
analogous
#275789 #282789 #592789
triadic
#282789 #892827 #278928
tetradic
#282789 #892757 #888927 #278959
square
#282789 #892757 #888927 #278959
split-complementary
#282789 #895927 #578927
monochromatic
#0C0C2A #1A1959 #282789 #3635B9 #5B5AD0

Accessibility & contrast

On white

12.06
#282789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#282789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282789
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282789#FFFFFF#000000##FFFFFF
##2827891.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003287
Tritanopia (blue-blind)
#004255
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #282789;
/* rgb */ color: rgb(40, 39, 137);
/* oklch */ color: oklch(34.8% 0.157 274.9);
Tailwind
colors: {
  custom: {
    50: '#7162ac',
    500: '#282789',
    950: '#000000',
  },
}
SCSS
$custom: #282789;
$custom-light: #7162ac;
$custom-dark: #000000;
JSON
{
  "hex": "#282789",
  "rgb": {
    "r": 40,
    "g": 39,
    "b": 137
  },
  "hsl": {
    "h": 240.612,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34757,
    "c": 0.15724,
    "h": 274.9
  },
  "luminance": 0.03708
}

Semantic roles & 50–950 ramp

primary
#282789
secondary
#B4B557
accent
#DF49DD
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #282789

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

Preview Lab → · Contrast checker → · Palette generator →

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