#285087#285087

#285087 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 43.1% C 0.102 H 256.9°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#285087
RGBrgb(40, 80, 135)
HSLhsl(215, 54%, 34%)
HSVhsv(215, 70%, 53%)
CMYKcmyk(70.4%, 40.7%, 0%, 47.1%)
CIE-LABlab(33.85, 5.29, -34.90)
CIE-LCHlch(33.85, 35.30, 278.63°)
OKLaboklab(43.11% -0.0231 -0.0994)
OKLCHoklch(43.11% 0.102 256.9)
XYZxyz(8.1153, 7.9369, 24.0213)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285087 #875F28
analogous
#288087 #285087 #302887
triadic
#285087 #872850 #508728
tetradic
#285087 #872880 #875F28 #288730
square
#285087 #872880 #875F28 #288730
split-complementary
#285087 #873028 #808728
monochromatic
#0C1829 #1A3458 #285087 #366CB6 #5B8CCE

Accessibility & contrast

On white

8.12
#285087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#285087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285087
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285087#FFFFFF#000000##FFFFFF
##2850871.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375489
Deuteranopia (green-blind)
#284C86
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #285087;
/* rgb */ color: rgb(40, 80, 135);
/* oklch */ color: oklch(43.1% 0.102 256.9);
Tailwind
colors: {
  custom: {
    50: '#6e80aa',
    500: '#285087',
    950: '#000000',
  },
}
SCSS
$custom: #285087;
$custom-light: #6e80aa;
$custom-dark: #000000;
JSON
{
  "hex": "#285087",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 135
  },
  "hsl": {
    "h": 214.737,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43111,
    "c": 0.10207,
    "h": 256.9
  },
  "luminance": 0.07938
}

Semantic roles & 50–950 ramp

primary
#285087
secondary
#B48D57
accent
#A04ADE
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #285087

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

Preview Lab → · Contrast checker → · Palette generator →

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