#284572#284572

#284572 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.1% C 0.084 H 258.9°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#284572
RGBrgb(40, 69, 114)
HSLhsl(216, 48%, 30%)
HSVhsv(216, 65%, 45%)
CMYKcmyk(64.9%, 39.5%, 0%, 55.3%)
CIE-LABlab(29.21, 4.63, -29.19)
CIE-LCHlch(29.21, 29.55, 279.02°)
OKLaboklab(39.11% -0.0163 -0.0829)
OKLCHoklch(39.11% 0.084 258.9)
XYZxyz(6.0394, 5.9217, 16.7411)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284572 #725528
analogous
#286A72 #284572 #302872
triadic
#284572 #722845 #457228
tetradic
#284572 #72286A #725528 #287230
square
#284572 #72286A #725528 #287230
split-complementary
#284572 #723028 #6A7228
monochromatic
#080E17 #182A45 #284572 #38609F #527EC2

Accessibility & contrast

On white

9.61
#284572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284572
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284572#FFFFFF#000000##FFFFFF
##2845721.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324974
Deuteranopia (green-blind)
#274271
Tritanopia (blue-blind)
#004F56
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #284572;
/* rgb */ color: rgb(40, 69, 114);
/* oklch */ color: oklch(39.1% 0.084 258.9);
Tailwind
colors: {
  custom: {
    50: '#6a789b',
    500: '#284572',
    950: '#000000',
  },
}
SCSS
$custom: #284572;
$custom-light: #6a789b;
$custom-dark: #000000;
JSON
{
  "hex": "#284572",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 114
  },
  "hsl": {
    "h": 216.486,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39106,
    "c": 0.08444,
    "h": 258.9
  },
  "luminance": 0.05922
}

Semantic roles & 50–950 ramp

primary
#284572
secondary
#A48452
accent
#A350D8
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #284572

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

Preview Lab → · Contrast checker → · Palette generator →

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