#283582#283582

#283582 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.130 H 271.3°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#283582
RGBrgb(40, 53, 130)
HSLhsl(231, 53%, 33%)
HSVhsv(231, 69%, 51%)
CMYKcmyk(69.2%, 59.2%, 0%, 49%)
CIE-LABlab(25.59, 21.75, -45.08)
CIE-LCHlch(25.59, 50.05, 295.76°)
OKLaboklab(36.69% 0.0029 -0.1298)
OKLCHoklch(36.69% 0.13 271.3)
XYZxyz(6.1761, 4.6085, 21.6788)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283582 #827528
analogous
#286282 #283582 #482882
triadic
#283582 #822835 #358228
tetradic
#283582 #822862 #827528 #288248
square
#283582 #822862 #827528 #288248
split-complementary
#283582 #824828 #628228
monochromatic
#0B0F24 #1A2253 #283582 #3648B1 #5969CC

Accessibility & contrast

On white

10.93
#283582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#283582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283582
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283582#FFFFFF#000000##FFFFFF
##2835821.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004185
Deuteranopia (green-blind)
#003980
Tritanopia (blue-blind)
#004856
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #283582;
/* rgb */ color: rgb(40, 53, 130);
/* oklch */ color: oklch(36.7% 0.130 271.3);
Tailwind
colors: {
  custom: {
    50: '#6e6ca7',
    500: '#283582',
    950: '#000000',
  },
}
SCSS
$custom: #283582;
$custom-light: #6e6ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#283582",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 130
  },
  "hsl": {
    "h": 231.333,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36694,
    "c": 0.12982,
    "h": 271.3
  },
  "luminance": 0.04609
}

Semantic roles & 50–950 ramp

primary
#283582
secondary
#B1A455
accent
#C74BDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #283582

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

Preview Lab → · Contrast checker → · Palette generator →

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