#284571#284571

#284571 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.0% C 0.083 H 258.5°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#284571
RGBrgb(40, 69, 113)
HSLhsl(216, 48%, 30%)
HSVhsv(216, 65%, 44%)
CMYKcmyk(64.6%, 38.9%, 0%, 55.7%)
CIE-LABlab(29.16, 4.26, -28.65)
CIE-LCHlch(29.16, 28.96, 278.45°)
OKLaboklab(39.04% -0.0165 -0.0813)
OKLCHoklch(39.04% 0.083 258.5)
XYZxyz(5.9828, 5.8991, 16.4429)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284571 #715428
analogous
#286A71 #284571 #2F2871
triadic
#284571 #712845 #457128
tetradic
#284571 #71286A #715428 #28712F
square
#284571 #71286A #715428 #28712F
split-complementary
#284571 #712F28 #6A7128
monochromatic
#080E17 #182944 #284571 #38619E #527EC2

Accessibility & contrast

On white

9.63
#284571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#284571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284571
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284571#FFFFFF#000000##FFFFFF
##2845711.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324873
Deuteranopia (green-blind)
#284270
Tritanopia (blue-blind)
#004F55
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #284571;
/* rgb */ color: rgb(40, 69, 113);
/* oklch */ color: oklch(39.0% 0.083 258.5);
Tailwind
colors: {
  custom: {
    50: '#69789a',
    500: '#284571',
    950: '#000000',
  },
}
SCSS
$custom: #284571;
$custom-light: #69789a;
$custom-dark: #000000;
JSON
{
  "hex": "#284571",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 113
  },
  "hsl": {
    "h": 216.164,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.39042,
    "c": 0.08295,
    "h": 258.5
  },
  "luminance": 0.059
}

Semantic roles & 50–950 ramp

primary
#284571
secondary
#A38352
accent
#A250D7
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #284571

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

Preview Lab → · Contrast checker → · Palette generator →

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