#282189#282189

#282189 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.164 H 276.1°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#282189
RGBrgb(40, 33, 137)
HSLhsl(244, 61%, 33%)
HSVhsv(244, 76%, 54%)
CMYKcmyk(70.8%, 75.9%, 0%, 46.3%)
CIE-LABlab(21.37, 37.25, -56.37)
CIE-LCHlch(21.37, 67.56, 303.46°)
OKLaboklab(33.82% 0.0173 -0.1629)
OKLCHoklch(33.82% 0.164 276.1)
XYZxyz(5.9328, 3.3444, 23.9949)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282189 #828921
analogous
#214E89 #282189 #5C2189
triadic
#282189 #892821 #218928
tetradic
#282189 #89214E #828921 #21895C
square
#282189 #89214E #828921 #21895C
split-complementary
#282189 #895C21 #4E8921
monochromatic
#0B0926 #1A1558 #282189 #362DBA #5950D5

Accessibility & contrast

On white

12.58
#282189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#282189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282189
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282189#FFFFFF#000000##FFFFFF
##2821891.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282189;
/* rgb */ color: rgb(40, 33, 137);
/* oklch */ color: oklch(33.8% 0.164 276.1);
Tailwind
colors: {
  custom: {
    50: '#715ead',
    500: '#282189',
    950: '#000000',
  },
}
SCSS
$custom: #282189;
$custom-light: #715ead;
$custom-dark: #000000;
JSON
{
  "hex": "#282189",
  "rgb": {
    "r": 40,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 244.038,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33824,
    "c": 0.16384,
    "h": 276.1
  },
  "luminance": 0.03345
}

Semantic roles & 50–950 ramp

primary
#282189
secondary
#B1B84E
accent
#E444D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #282189

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

Preview Lab → · Contrast checker → · Palette generator →

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