#284971#284971

#284971 is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.0% C 0.078 H 254.3°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#284971
RGBrgb(40, 73, 113)
HSLhsl(213, 48%, 30%)
HSVhsv(213, 65%, 44%)
CMYKcmyk(64.6%, 35.4%, 0%, 55.7%)
CIE-LABlab(30.42, 1.59, -26.65)
CIE-LCHlch(30.42, 26.70, 273.42°)
OKLaboklab(40.03% -0.0213 -0.0754)
OKLCHoklch(40.03% 0.078 254.3)
XYZxyz(6.2372, 6.4079, 16.5277)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284971 #715028
analogous
#286D71 #284971 #2C2871
triadic
#284971 #712849 #497128
tetradic
#284971 #71286D #715028 #28712C
square
#284971 #71286D #715028 #28712C
split-complementary
#284971 #712C28 #6D7128
monochromatic
#080F17 #182C44 #284971 #38669E #5284C2

Accessibility & contrast

On white

9.20
#284971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#284971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284971
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284971#FFFFFF#000000##FFFFFF
##2849711.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384B73
Deuteranopia (green-blind)
#2E4470
Tritanopia (blue-blind)
#005257
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #284971;
/* rgb */ color: rgb(40, 73, 113);
/* oklch */ color: oklch(40.0% 0.078 254.3);
Tailwind
colors: {
  custom: {
    50: '#697b9a',
    500: '#284971',
    950: '#000000',
  },
}
SCSS
$custom: #284971;
$custom-light: #697b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#284971",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 113
  },
  "hsl": {
    "h": 212.877,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.40027,
    "c": 0.07835,
    "h": 254.3
  },
  "luminance": 0.06408
}

Semantic roles & 50–950 ramp

primary
#284971
secondary
#A37E52
accent
#9A50D7
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #284971

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

Preview Lab → · Contrast checker → · Palette generator →

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