#285871#285871

#285871 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 43.8% C 0.066 H 233.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#285871
RGBrgb(40, 88, 113)
HSLhsl(201, 48%, 30%)
HSVhsv(201, 65%, 44%)
CMYKcmyk(64.6%, 22.1%, 0%, 55.7%)
CIE-LABlab(35.25, -7.92, -19.12)
CIE-LCHlch(35.25, 20.70, 247.49°)
OKLaboklab(43.84% -0.0391 -0.0535)
OKLCHoklch(43.84% 0.066 233.8)
XYZxyz(7.3443, 8.6221, 16.8968)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285871 #714128
analogous
#287165 #285871 #283471
triadic
#285871 #712858 #587128
tetradic
#285871 #652871 #714128 #347128
square
#285871 #652871 #714128 #347128
split-complementary
#285871 #712834 #716528
monochromatic
#081217 #183544 #285871 #387B9E #529BC2

Accessibility & contrast

On white

7.71
#285871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#285871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285871
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285871#FFFFFF#000000##FFFFFF
##2858711.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5772
Deuteranopia (green-blind)
#425071
Tritanopia (blue-blind)
#005F60
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #285871;
/* rgb */ color: rgb(40, 88, 113);
/* oklch */ color: oklch(43.8% 0.066 233.8);
Tailwind
colors: {
  custom: {
    50: '#6a879a',
    500: '#285871',
    950: '#000000',
  },
}
SCSS
$custom: #285871;
$custom-light: #6a879a;
$custom-dark: #000000;
JSON
{
  "hex": "#285871",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 113
  },
  "hsl": {
    "h": 200.548,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.43836,
    "c": 0.06628,
    "h": 233.8
  },
  "luminance": 0.08623
}

Semantic roles & 50–950 ramp

primary
#285871
secondary
#A36E52
accent
#7F50D7
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #285871

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

Preview Lab → · Contrast checker → · Palette generator →

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