#285877#285877

#285877 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.1% C 0.073 H 239.7°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#285877
RGBrgb(40, 88, 119)
HSLhsl(204, 50%, 31%)
HSVhsv(204, 66%, 47%)
CMYKcmyk(66.4%, 26.1%, 0%, 53.3%)
CIE-LABlab(35.52, -5.79, -22.41)
CIE-LCHlch(35.52, 23.15, 255.52°)
OKLaboklab(44.15% -0.0368 -0.063)
OKLCHoklch(44.15% 0.073 239.7)
XYZxyz(7.6933, 8.7617, 18.7349)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285877 #774728
analogous
#28776E #285877 #283077
triadic
#285877 #772858 #587728
tetradic
#285877 #6E2877 #774728 #307728
square
#285877 #6E2877 #774728 #307728
split-complementary
#285877 #772830 #776E28
monochromatic
#09141B #193649 #285877 #377AA5 #5499C5

Accessibility & contrast

On white

7.63
#285877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#285877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285877
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285877#FFFFFF#000000##FFFFFF
##2858771.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5878
Deuteranopia (green-blind)
#3F5076
Tritanopia (blue-blind)
#006063
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #285877;
/* rgb */ color: rgb(40, 88, 119);
/* oklch */ color: oklch(44.1% 0.073 239.7);
Tailwind
colors: {
  custom: {
    50: '#6b879e',
    500: '#285877',
    950: '#000000',
  },
}
SCSS
$custom: #285877;
$custom-light: #6b879e;
$custom-dark: #000000;
JSON
{
  "hex": "#285877",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 119
  },
  "hsl": {
    "h": 203.544,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44145,
    "c": 0.07295,
    "h": 239.7
  },
  "luminance": 0.08762
}

Semantic roles & 50–950 ramp

primary
#285877
secondary
#A97452
accent
#854FD9
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #285877

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

Preview Lab → · Contrast checker → · Palette generator →

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