#283572#283572

#283572 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.4% C 0.106 H 271.0°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#283572
RGBrgb(40, 53, 114)
HSLhsl(229, 48%, 30%)
HSVhsv(229, 65%, 45%)
CMYKcmyk(64.9%, 53.5%, 0%, 55.3%)
CIE-LABlab(24.36, 15.66, -36.95)
CIE-LCHlch(24.36, 40.13, 292.97°)
OKLaboklab(35.38% 0.0019 -0.1059)
OKLCHoklch(35.38% 0.106 271)
XYZxyz(5.1844, 4.2118, 16.4561)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283572 #726528
analogous
#285A72 #283572 #402872
triadic
#283572 #722835 #357228
tetradic
#283572 #72285A #726528 #287240
square
#283572 #72285A #726528 #287240
split-complementary
#283572 #724028 #5A7228
monochromatic
#080B17 #182045 #283572 #384A9F #5266C2

Accessibility & contrast

On white

11.40
#283572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#283572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283572
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283572#FFFFFF#000000##FFFFFF
##2835721.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123D74
Deuteranopia (green-blind)
#003771
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #283572;
/* rgb */ color: rgb(40, 53, 114);
/* oklch */ color: oklch(35.4% 0.106 271.0);
Tailwind
colors: {
  custom: {
    50: '#6a6b9b',
    500: '#283572',
    950: '#000000',
  },
}
SCSS
$custom: #283572;
$custom-light: #6a6b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#283572",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 114
  },
  "hsl": {
    "h": 229.459,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35381,
    "c": 0.10588,
    "h": 271
  },
  "luminance": 0.04212
}

Semantic roles & 50–950 ramp

primary
#283572
secondary
#A49652
accent
#C050D8
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #283572

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

Preview Lab → · Contrast checker → · Palette generator →

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