#282792#282792

#282792 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.7% C 0.169 H 274.1°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#282792
RGBrgb(40, 39, 146)
HSLhsl(241, 58%, 36%)
HSVhsv(241, 73%, 57%)
CMYKcmyk(72.6%, 73.3%, 0%, 42.7%)
CIE-LABlab(23.59, 36.77, -58.31)
CIE-LCHlch(23.59, 68.93, 302.24°)
OKLaboklab(35.69% 0.0121 -0.1686)
OKLCHoklch(35.69% 0.169 274.1)
XYZxyz(6.7872, 3.9768, 27.5985)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282792 #919227
analogous
#275C92 #282792 #5E2792
triadic
#282792 #922827 #279228
tetradic
#282792 #92275C #919227 #27925E
square
#282792 #92275C #919227 #27925E
split-complementary
#282792 #925E27 #5C9227
monochromatic
#0E0D31 #1B1A62 #282792 #3534C2 #605FD4

Accessibility & contrast

On white

11.70
#282792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#282792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282792
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282792#FFFFFF#000000##FFFFFF
##2827921.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003390
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #282792;
/* rgb */ color: rgb(40, 39, 146);
/* oklch */ color: oklch(35.7% 0.169 274.1);
Tailwind
colors: {
  custom: {
    50: '#7362b3',
    500: '#282792',
    950: '#000000',
  },
}
SCSS
$custom: #282792;
$custom-light: #7362b3;
$custom-dark: #000000;
JSON
{
  "hex": "#282792",
  "rgb": {
    "r": 40,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 240.561,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35688,
    "c": 0.16903,
    "h": 274.1
  },
  "luminance": 0.03977
}

Semantic roles & 50–950 ramp

primary
#282792
secondary
#B9BA5B
accent
#E147E0
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #282792

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

Preview Lab → · Contrast checker → · Palette generator →

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