#282392#282392

#282392 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.173 H 274.7°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#282392
RGBrgb(40, 35, 146)
HSLhsl(243, 61%, 35%)
HSVhsv(243, 76%, 57%)
CMYKcmyk(72.6%, 76%, 0%, 42.7%)
CIE-LABlab(22.75, 39.13, -59.70)
CIE-LCHlch(22.75, 71.38, 303.25°)
OKLaboklab(35.09% 0.0143 -0.1726)
OKLCHoklch(35.09% 0.173 274.7)
XYZxyz(6.6627, 3.7279, 27.5570)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282392 #8D9223
analogous
#235592 #282392 #602392
triadic
#282392 #922823 #239228
tetradic
#282392 #922355 #8D9223 #239260
square
#282392 #922355 #8D9223 #239260
split-complementary
#282392 #926023 #559223
monochromatic
#0D0B2F #1A1761 #282392 #362FC3 #5E58D7

Accessibility & contrast

On white

12.03
#282392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282392
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282392#FFFFFF#000000##FFFFFF
##2823921.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003190
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #282392;
/* rgb */ color: rgb(40, 35, 146);
/* oklch */ color: oklch(35.1% 0.173 274.7);
Tailwind
colors: {
  custom: {
    50: '#7360b3',
    500: '#282392',
    950: '#000000',
  },
}
SCSS
$custom: #282392;
$custom-light: #7360b3;
$custom-dark: #000000;
JSON
{
  "hex": "#282392",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 242.703,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35087,
    "c": 0.17322,
    "h": 274.7
  },
  "luminance": 0.03729
}

Semantic roles & 50–950 ramp

primary
#282392
secondary
#B7BB55
accent
#E443DD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #282392

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

Preview Lab → · Contrast checker → · Palette generator →

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