#282289#282289

#282289 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.163 H 275.9°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#282289
RGBrgb(40, 34, 137)
HSLhsl(243, 60%, 34%)
HSVhsv(243, 75%, 54%)
CMYKcmyk(70.8%, 75.2%, 0%, 46.3%)
CIE-LABlab(21.58, 36.66, -56.02)
CIE-LCHlch(21.58, 66.95, 303.20°)
OKLaboklab(33.97% 0.0167 -0.1619)
OKLCHoklch(33.97% 0.163 275.9)
XYZxyz(5.9610, 3.4008, 24.0043)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282289 #838922
analogous
#224F89 #282289 #5B2289
triadic
#282289 #892822 #228928
tetradic
#282289 #89224F #838922 #22895B
square
#282289 #89224F #838922 #22895B
split-complementary
#282289 #895B22 #4F8922
monochromatic
#0B0A27 #1A1658 #282289 #362EBA #5951D4

Accessibility & contrast

On white

12.50
#282289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#282289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282289
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282289#FFFFFF#000000##FFFFFF
##2822891.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#002F87
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #282289;
/* rgb */ color: rgb(40, 34, 137);
/* oklch */ color: oklch(34.0% 0.163 275.9);
Tailwind
colors: {
  custom: {
    50: '#715fad',
    500: '#282289',
    950: '#000000',
  },
}
SCSS
$custom: #282289;
$custom-light: #715fad;
$custom-dark: #000000;
JSON
{
  "hex": "#282289",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 243.495,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33972,
    "c": 0.16278,
    "h": 275.9
  },
  "luminance": 0.03401
}

Semantic roles & 50–950 ramp

primary
#282289
secondary
#B1B84F
accent
#E344DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #282289

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

Preview Lab → · Contrast checker → · Palette generator →

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