#283587#283587

#283587 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.137 H 271.2°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#283587
RGBrgb(40, 53, 135)
HSLhsl(232, 54%, 34%)
HSVhsv(232, 70%, 53%)
CMYKcmyk(70.4%, 60.7%, 0%, 47.1%)
CIE-LABlab(26.00, 23.65, -47.54)
CIE-LCHlch(26.00, 53.10, 296.45°)
OKLaboklab(37.13% 0.0029 -0.137)
OKLCHoklch(37.13% 0.137 271.2)
XYZxyz(6.5199, 4.7460, 23.4894)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283587 #877A28
analogous
#286587 #283587 #4A2887
triadic
#283587 #872835 #358728
tetradic
#283587 #872865 #877A28 #28874A
square
#283587 #872865 #877A28 #28874A
split-complementary
#283587 #874A28 #658728
monochromatic
#0C1029 #1A2258 #283587 #3648B6 #5B6BCE

Accessibility & contrast

On white

10.77
#283587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#283587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283587
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283587#FFFFFF#000000##FFFFFF
##2835871.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#003985
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283587;
/* rgb */ color: rgb(40, 53, 135);
/* oklch */ color: oklch(37.1% 0.137 271.2);
Tailwind
colors: {
  custom: {
    50: '#6f6cab',
    500: '#283587',
    950: '#000000',
  },
}
SCSS
$custom: #283587;
$custom-light: #6f6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#283587",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 135
  },
  "hsl": {
    "h": 231.789,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37128,
    "c": 0.13704,
    "h": 271.2
  },
  "luminance": 0.04747
}

Semantic roles & 50–950 ramp

primary
#283587
secondary
#B4A757
accent
#C94ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #283587

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

Preview Lab → · Contrast checker → · Palette generator →

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