#283580#283580

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

Color values

HEX#283580
RGBrgb(40, 53, 128)
HSLhsl(231, 52%, 33%)
HSVhsv(231, 69%, 50%)
CMYKcmyk(68.8%, 58.6%, 0%, 49.8%)
CIE-LABlab(25.43, 20.99, -44.09)
CIE-LCHlch(25.43, 48.83, 295.46°)
OKLaboklab(36.52% 0.0028 -0.1269)
OKLCHoklch(36.52% 0.127 271.3)
XYZxyz(6.0431, 4.5553, 20.9787)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283580 #807328
analogous
#286180 #283580 #472880
triadic
#283580 #802835 #358028
tetradic
#283580 #802861 #807328 #288047
square
#283580 #802861 #807328 #288047
split-complementary
#283580 #804728 #618028
monochromatic
#0B0E23 #192251 #283580 #3748AF #5869CB

Accessibility & contrast

On white

10.99
#283580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#283580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283580
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283580#FFFFFF#000000##FFFFFF
##2835801.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004083
Deuteranopia (green-blind)
#00387E
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #283580;
/* rgb */ color: rgb(40, 53, 128);
/* oklch */ color: oklch(36.5% 0.127 271.3);
Tailwind
colors: {
  custom: {
    50: '#6d6ca5',
    500: '#283580',
    950: '#000000',
  },
}
SCSS
$custom: #283580;
$custom-light: #6d6ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#283580",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 128
  },
  "hsl": {
    "h": 231.136,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36524,
    "c": 0.12689,
    "h": 271.3
  },
  "luminance": 0.04556
}

Semantic roles & 50–950 ramp

primary
#283580
secondary
#B0A254
accent
#C74CDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #283580

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

Preview Lab → · Contrast checker → · Palette generator →

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