#283591#283591

#283591 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.151 H 271.0°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#283591
RGBrgb(40, 53, 145)
HSLhsl(233, 57%, 36%)
HSVhsv(233, 72%, 57%)
CMYKcmyk(72.4%, 63.4%, 0%, 43.1%)
CIE-LABlab(26.85, 27.42, -52.35)
CIE-LCHlch(26.85, 59.09, 297.64°)
OKLaboklab(38.03% 0.0028 -0.1511)
OKLCHoklch(38.03% 0.151 271)
XYZxyz(7.2573, 5.0409, 27.3731)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283591 #918428
analogous
#286A91 #283591 #502891
triadic
#283591 #912835 #359128
tetradic
#283591 #91286A #918428 #289150
square
#283591 #91286A #918428 #289150
split-complementary
#283591 #915028 #6A9128
monochromatic
#0E1231 #1B2361 #283591 #3547C1 #606ED3

Accessibility & contrast

On white

10.46
#283591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#283591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283591
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283591#FFFFFF#000000##FFFFFF
##2835911.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#003B8F
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #283591;
/* rgb */ color: rgb(40, 53, 145);
/* oklch */ color: oklch(38.0% 0.151 271.0);
Tailwind
colors: {
  custom: {
    50: '#716cb2',
    500: '#283591',
    950: '#000000',
  },
}
SCSS
$custom: #283591;
$custom-light: #716cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#283591",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 145
  },
  "hsl": {
    "h": 232.571,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38025,
    "c": 0.15115,
    "h": 271
  },
  "luminance": 0.05042
}

Semantic roles & 50–950 ramp

primary
#283591
secondary
#B9AD5C
accent
#CD48E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283591

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

Preview Lab → · Contrast checker → · Palette generator →

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