#285787#285787

#285787 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.8% C 0.094 H 251.1°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#285787
RGBrgb(40, 87, 135)
HSLhsl(210, 54%, 34%)
HSVhsv(210, 70%, 53%)
CMYKcmyk(70.4%, 35.6%, 0%, 47.1%)
CIE-LABlab(36.01, 0.74, -31.47)
CIE-LCHlch(36.01, 31.48, 271.35°)
OKLaboklab(44.8% -0.0305 -0.0893)
OKLCHoklch(44.8% 0.094 251.1)
XYZxyz(8.6548, 9.0159, 24.2011)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285787 #875828
analogous
#288787 #285787 #292887
triadic
#285787 #872857 #578728
tetradic
#285787 #872887 #875828 #288729
square
#285787 #872887 #875828 #288729
split-complementary
#285787 #872928 #878728
monochromatic
#0C1A29 #1A3958 #285787 #3675B6 #5B94CE

Accessibility & contrast

On white

7.49
#285787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#285787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285787
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285787#FFFFFF#000000##FFFFFF
##2857871.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425A89
Deuteranopia (green-blind)
#345186
Tritanopia (blue-blind)
#006268
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #285787;
/* rgb */ color: rgb(40, 87, 135);
/* oklch */ color: oklch(44.8% 0.094 251.1);
Tailwind
colors: {
  custom: {
    50: '#6e86aa',
    500: '#285787',
    950: '#000000',
  },
}
SCSS
$custom: #285787;
$custom-light: #6e86aa;
$custom-dark: #000000;
JSON
{
  "hex": "#285787",
  "rgb": {
    "r": 40,
    "g": 87,
    "b": 135
  },
  "hsl": {
    "h": 210.316,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.448,
    "c": 0.09434,
    "h": 251.1
  },
  "luminance": 0.09017
}

Semantic roles & 50–950 ramp

primary
#285787
secondary
#B48657
accent
#954ADE
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #285787

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

Preview Lab → · Contrast checker → · Palette generator →

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