#282591#282591

#282591 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.170 H 274.5°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#282591
RGBrgb(40, 37, 145)
HSLhsl(242, 59%, 36%)
HSVhsv(242, 74%, 57%)
CMYKcmyk(72.4%, 74.5%, 0%, 43.1%)
CIE-LABlab(23.06, 37.62, -58.57)
CIE-LCHlch(23.06, 69.61, 302.72°)
OKLaboklab(35.28% 0.0134 -0.1694)
OKLCHoklch(35.28% 0.17 274.5)
XYZxyz(6.6458, 3.8179, 27.1693)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282591 #8E9125
analogous
#255891 #282591 #5E2591
triadic
#282591 #912825 #259128
tetradic
#282591 #912558 #8E9125 #25915E
square
#282591 #912558 #8E9125 #25915E
split-complementary
#282591 #915E25 #589125
monochromatic
#0D0C2F #1B1960 #282591 #3531C2 #5F5BD5

Accessibility & contrast

On white

11.91
#282591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#282591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282591
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282591#FFFFFF#000000##FFFFFF
##2825911.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00328F
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #282591;
/* rgb */ color: rgb(40, 37, 145);
/* oklch */ color: oklch(35.3% 0.170 274.5);
Tailwind
colors: {
  custom: {
    50: '#7361b2',
    500: '#282591',
    950: '#000000',
  },
}
SCSS
$custom: #282591;
$custom-light: #7361b2;
$custom-dark: #000000;
JSON
{
  "hex": "#282591",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 241.667,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35275,
    "c": 0.16989,
    "h": 274.5
  },
  "luminance": 0.03819
}

Semantic roles & 50–950 ramp

primary
#282591
secondary
#B7BA58
accent
#E345DE
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #282591

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

Preview Lab → · Contrast checker → · Palette generator →

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