#283588#283588

#283588 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.138 H 271.2°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#283588
RGBrgb(40, 53, 136)
HSLhsl(232, 55%, 35%)
HSVhsv(232, 71%, 53%)
CMYKcmyk(70.6%, 61%, 0%, 46.7%)
CIE-LABlab(26.08, 24.03, -48.03)
CIE-LCHlch(26.08, 53.70, 296.58°)
OKLaboklab(37.22% 0.0029 -0.1384)
OKLCHoklch(37.22% 0.138 271.2)
XYZxyz(6.5906, 4.7743, 23.8620)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283588 #887B28
analogous
#286588 #283588 #4B2888
triadic
#283588 #882835 #358828
tetradic
#283588 #882865 #887B28 #28884B
square
#283588 #882865 #887B28 #28884B
split-complementary
#283588 #884B28 #658828
monochromatic
#0C1029 #1A2359 #283588 #3647B7 #5B6BCF

Accessibility & contrast

On white

10.74
#283588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#283588 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283588
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283588#FFFFFF#000000##FFFFFF
##2835881.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#003986
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283588;
/* rgb */ color: rgb(40, 53, 136);
/* oklch */ color: oklch(37.2% 0.138 271.2);
Tailwind
colors: {
  custom: {
    50: '#6f6cab',
    500: '#283588',
    950: '#000000',
  },
}
SCSS
$custom: #283588;
$custom-light: #6f6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#283588",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 136
  },
  "hsl": {
    "h": 231.875,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37216,
    "c": 0.13847,
    "h": 271.2
  },
  "luminance": 0.04775
}

Semantic roles & 50–950 ramp

primary
#283588
secondary
#B4A858
accent
#CA4ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #283588

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

Preview Lab → · Contrast checker → · Palette generator →

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