#282096#282096

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

Color values

HEX#282096
RGBrgb(40, 32, 150)
HSLhsl(244, 65%, 36%)
HSVhsv(244, 79%, 59%)
CMYKcmyk(73.3%, 78.7%, 0%, 41.2%)
CIE-LABlab(22.60, 42.13, -62.41)
CIE-LCHlch(22.60, 75.30, 304.02°)
OKLaboklab(35.11% 0.0149 -0.1805)
OKLCHoklch(35.11% 0.181 274.7)
XYZxyz(6.8948, 3.6855, 29.1963)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282096 #8E9620
analogous
#205396 #282096 #632096
triadic
#282096 #962820 #209628
tetradic
#282096 #962053 #8E9620 #209663
square
#282096 #962053 #8E9620 #209663
split-complementary
#282096 #966320 #539620
monochromatic
#0D0A31 #1B1564 #282096 #352BC8 #5F56DB

Accessibility & contrast

On white

12.09
#282096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#282096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282096
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282096#FFFFFF#000000##FFFFFF
##2820961.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#003094
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #282096;
/* rgb */ color: rgb(40, 32, 150);
/* oklch */ color: oklch(35.1% 0.181 274.7);
Tailwind
colors: {
  custom: {
    50: '#745eb6',
    500: '#282096',
    950: '#000000',
  },
}
SCSS
$custom: #282096;
$custom-light: #745eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#282096",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 244.068,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35114,
    "c": 0.18111,
    "h": 274.7
  },
  "luminance": 0.03686
}

Semantic roles & 50–950 ramp

primary
#282096
secondary
#B7BE53
accent
#E840DC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #282096

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

Preview Lab → · Contrast checker → · Palette generator →

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