#284872#284872

#284872 is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.8% C 0.081 H 255.8°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#284872
RGBrgb(40, 72, 114)
HSLhsl(214, 48%, 30%)
HSVhsv(214, 65%, 45%)
CMYKcmyk(64.9%, 36.8%, 0%, 55.3%)
CIE-LABlab(30.16, 2.63, -27.70)
CIE-LCHlch(30.16, 27.82, 275.42°)
OKLaboklab(39.84% -0.0198 -0.0785)
OKLCHoklch(39.84% 0.081 255.8)
XYZxyz(6.2286, 6.3002, 16.8041)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284872 #725228
analogous
#286D72 #284872 #2D2872
triadic
#284872 #722848 #487228
tetradic
#284872 #72286D #725228 #28722D
square
#284872 #72286D #725228 #28722D
split-complementary
#284872 #722D28 #6D7228
monochromatic
#080F17 #182B45 #284872 #38659F #5283C2

Accessibility & contrast

On white

9.29
#284872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#284872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284872
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284872#FFFFFF#000000##FFFFFF
##2848721.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364B74
Deuteranopia (green-blind)
#2C4471
Tritanopia (blue-blind)
#005257
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #284872;
/* rgb */ color: rgb(40, 72, 114);
/* oklch */ color: oklch(39.8% 0.081 255.8);
Tailwind
colors: {
  custom: {
    50: '#6a7a9b',
    500: '#284872',
    950: '#000000',
  },
}
SCSS
$custom: #284872;
$custom-light: #6a7a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#284872",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 214.054,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39841,
    "c": 0.08092,
    "h": 255.8
  },
  "luminance": 0.06301
}

Semantic roles & 50–950 ramp

primary
#284872
secondary
#A48052
accent
#9D50D8
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #284872

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

Preview Lab → · Contrast checker → · Palette generator →

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