#282393#282393

#282393 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.174 H 274.6°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#282393
RGBrgb(40, 35, 147)
HSLhsl(243, 62%, 36%)
HSVhsv(243, 76%, 58%)
CMYKcmyk(72.8%, 76.2%, 0%, 42.4%)
CIE-LABlab(22.86, 39.47, -60.14)
CIE-LCHlch(22.86, 71.93, 303.28°)
OKLaboklab(35.2% 0.0141 -0.1739)
OKLCHoklch(35.2% 0.174 274.6)
XYZxyz(6.7408, 3.7591, 27.9684)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282393 #8E9323
analogous
#235693 #282393 #602393
triadic
#282393 #932823 #239328
tetradic
#282393 #932356 #8E9323 #239360
square
#282393 #932356 #8E9323 #239360
split-complementary
#282393 #936023 #569323
monochromatic
#0D0B30 #1B1762 #282393 #352FC4 #5F59D7

Accessibility & contrast

On white

11.99
#282393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#282393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282393
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282393#FFFFFF#000000##FFFFFF
##2823931.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C96
Deuteranopia (green-blind)
#003191
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #282393;
/* rgb */ color: rgb(40, 35, 147);
/* oklch */ color: oklch(35.2% 0.174 274.6);
Tailwind
colors: {
  custom: {
    50: '#7360b4',
    500: '#282393',
    950: '#000000',
  },
}
SCSS
$custom: #282393;
$custom-light: #7360b4;
$custom-dark: #000000;
JSON
{
  "hex": "#282393",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 242.679,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35196,
    "c": 0.17449,
    "h": 274.6
  },
  "luminance": 0.0376
}

Semantic roles & 50–950 ramp

primary
#282393
secondary
#B7BC56
accent
#E543DD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #282393

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

Preview Lab → · Contrast checker → · Palette generator →

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