#283571#283571

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

Color values

HEX#283571
RGBrgb(40, 53, 113)
HSLhsl(229, 48%, 30%)
HSVhsv(229, 65%, 44%)
CMYKcmyk(64.6%, 53.1%, 0%, 55.7%)
CIE-LABlab(24.29, 15.28, -36.43)
CIE-LCHlch(24.29, 39.50, 292.76°)
OKLaboklab(35.3% 0.0018 -0.1043)
OKLCHoklch(35.3% 0.104 271)
XYZxyz(5.1278, 4.1891, 16.1579)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283571 #716428
analogous
#285971 #283571 #402871
triadic
#283571 #712835 #357128
tetradic
#283571 #712859 #716428 #287140
square
#283571 #712859 #716428 #287140
split-complementary
#283571 #714028 #597128
monochromatic
#080B17 #182044 #283571 #384A9E #5266C2

Accessibility & contrast

On white

11.43
#283571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283571
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283571#FFFFFF#000000##FFFFFF
##2835711.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143D73
Deuteranopia (green-blind)
#033770
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #283571;
/* rgb */ color: rgb(40, 53, 113);
/* oklch */ color: oklch(35.3% 0.104 271.0);
Tailwind
colors: {
  custom: {
    50: '#6a6b9a',
    500: '#283571',
    950: '#000000',
  },
}
SCSS
$custom: #283571;
$custom-light: #6a6b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#283571",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 113
  },
  "hsl": {
    "h": 229.315,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.35303,
    "c": 0.10433,
    "h": 271
  },
  "luminance": 0.0419
}

Semantic roles & 50–950 ramp

primary
#283571
secondary
#A39552
accent
#BF50D7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #283571

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

Preview Lab → · Contrast checker → · Palette generator →

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