#285F87#285F87

#285F87 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 46.8% C 0.087 H 243.3°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#285F87
RGBrgb(40, 95, 135)
HSLhsl(205, 54%, 34%)
HSVhsv(205, 70%, 53%)
CMYKcmyk(70.4%, 29.6%, 0%, 47.1%)
CIE-LABlab(38.52, -4.29, -27.52)
CIE-LCHlch(38.52, 27.86, 261.14°)
OKLaboklab(46.77% -0.0391 -0.0777)
OKLCHoklch(46.77% 0.087 243.3)
XYZxyz(9.3388, 10.3838, 24.4291)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285F87 #875028
analogous
#288780 #285F87 #283087
triadic
#285F87 #87285F #5F8728
tetradic
#285F87 #802887 #875028 #308728
square
#285F87 #802887 #875028 #308728
split-complementary
#285F87 #872830 #878028
monochromatic
#0C1D29 #1A3E58 #285F87 #3680B6 #5B9ECE

Accessibility & contrast

On white

6.82
#285F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#285F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285F87
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285F87#FFFFFF#000000##FFFFFF
##285F871.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6089
Deuteranopia (green-blind)
#405786
Tritanopia (blue-blind)
#00696D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #285f87;
/* rgb */ color: rgb(40, 95, 135);
/* oklch */ color: oklch(46.8% 0.087 243.3);
Tailwind
colors: {
  custom: {
    50: '#6e8caa',
    500: '#285f87',
    950: '#000000',
  },
}
SCSS
$custom: #285f87;
$custom-light: #6e8caa;
$custom-dark: #000000;
JSON
{
  "hex": "#285f87",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 135
  },
  "hsl": {
    "h": 205.263,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46774,
    "c": 0.08697,
    "h": 243.3
  },
  "luminance": 0.10385
}

Semantic roles & 50–950 ramp

primary
#285F87
secondary
#B47E57
accent
#884ADE
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #285F87

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

Preview Lab → · Contrast checker → · Palette generator →

#285F87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva