#282389#282389

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

Color values

HEX#282389
RGBrgb(40, 35, 137)
HSLhsl(243, 59%, 34%)
HSVhsv(243, 74%, 54%)
CMYKcmyk(70.8%, 74.5%, 0%, 46.3%)
CIE-LABlab(21.79, 36.07, -55.67)
CIE-LCHlch(21.79, 66.33, 302.94°)
OKLaboklab(34.12% 0.0161 -0.1609)
OKLCHoklch(34.12% 0.162 275.7)
XYZxyz(5.9900, 3.4588, 24.0140)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282389 #848923
analogous
#235189 #282389 #5B2389
triadic
#282389 #892823 #238928
tetradic
#282389 #892351 #848923 #23895B
square
#282389 #892351 #848923 #23895B
split-complementary
#282389 #895B23 #518923
monochromatic
#0C0A28 #1A1758 #282389 #362FBA #5A53D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##282389#FFFFFF#000000##FFFFFF
##2823891.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)
#00398C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #282389;
/* rgb */ color: rgb(40, 35, 137);
/* oklch */ color: oklch(34.1% 0.162 275.7);
Tailwind
colors: {
  custom: {
    50: '#715fac',
    500: '#282389',
    950: '#000000',
  },
}
SCSS
$custom: #282389;
$custom-light: #715fac;
$custom-dark: #000000;
JSON
{
  "hex": "#282389",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 242.941,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34123,
    "c": 0.16171,
    "h": 275.7
  },
  "luminance": 0.03459
}

Semantic roles & 50–950 ramp

primary
#282389
secondary
#B2B751
accent
#E245DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #282389

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

Preview Lab → · Contrast checker → · Palette generator →

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