#282196#282196

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

Color values

HEX#282196
RGBrgb(40, 33, 150)
HSLhsl(244, 64%, 36%)
HSVhsv(244, 78%, 59%)
CMYKcmyk(73.3%, 78%, 0%, 41.2%)
CIE-LABlab(22.79, 41.59, -62.10)
CIE-LCHlch(22.79, 74.74, 303.81°)
OKLaboklab(35.25% 0.0144 -0.1796)
OKLCHoklch(35.25% 0.18 274.6)
XYZxyz(6.9221, 3.7402, 29.2054)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282196 #8F9621
analogous
#215496 #282196 #622196
triadic
#282196 #962821 #219628
tetradic
#282196 #962154 #8F9621 #219662
square
#282196 #962154 #8F9621 #219662
split-complementary
#282196 #966221 #549621
monochromatic
#0D0B32 #1B1664 #282196 #352CC8 #5F57DA

Accessibility & contrast

On white

12.01
#282196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282196
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282196#FFFFFF#000000##FFFFFF
##2821961.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003194
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #282196;
/* rgb */ color: rgb(40, 33, 150);
/* oklch */ color: oklch(35.2% 0.180 274.6);
Tailwind
colors: {
  custom: {
    50: '#745fb6',
    500: '#282196',
    950: '#000000',
  },
}
SCSS
$custom: #282196;
$custom-light: #745fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#282196",
  "rgb": {
    "r": 40,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 243.59,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35248,
    "c": 0.18018,
    "h": 274.6
  },
  "luminance": 0.03741
}

Semantic roles & 50–950 ramp

primary
#282196
secondary
#B8BE55
accent
#E741DD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #282196

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

Preview Lab → · Contrast checker → · Palette generator →

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