#282696#282696

#282696 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.175 H 273.9°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#282696
RGBrgb(40, 38, 150)
HSLhsl(241, 60%, 37%)
HSVhsv(241, 75%, 59%)
CMYKcmyk(73.3%, 74.7%, 0%, 41.2%)
CIE-LABlab(23.80, 38.75, -60.44)
CIE-LCHlch(23.80, 71.79, 302.66°)
OKLaboklab(35.96% 0.0119 -0.1748)
OKLCHoklch(35.96% 0.175 273.9)
XYZxyz(7.0714, 4.0387, 29.2551)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282696 #949626
analogous
#265C96 #282696 #602696
triadic
#282696 #962826 #269628
tetradic
#282696 #96265C #949626 #269660
square
#282696 #96265C #949626 #269660
split-complementary
#282696 #966026 #5C9626
monochromatic
#0E0D34 #1B1A65 #282696 #3532C7 #6260D7

Accessibility & contrast

On white

11.62
#282696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#282696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282696
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282696#FFFFFF#000000##FFFFFF
##2826961.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003394
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #282696;
/* rgb */ color: rgb(40, 38, 150);
/* oklch */ color: oklch(36.0% 0.175 273.9);
Tailwind
colors: {
  custom: {
    50: '#7462b6',
    500: '#282696',
    950: '#000000',
  },
}
SCSS
$custom: #282696;
$custom-light: #7462b6;
$custom-dark: #000000;
JSON
{
  "hex": "#282696",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 241.071,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35959,
    "c": 0.17522,
    "h": 273.9
  },
  "luminance": 0.04039
}

Semantic roles & 50–950 ramp

primary
#282696
secondary
#BABC5C
accent
#E345E0
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #282696

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

Preview Lab → · Contrast checker → · Palette generator →

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