#285287#285287

#285287 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.6% C 0.100 H 255.4°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#285287
RGBrgb(40, 82, 135)
HSLhsl(213, 54%, 34%)
HSVhsv(213, 70%, 53%)
CMYKcmyk(70.4%, 39.3%, 0%, 47.1%)
CIE-LABlab(34.47, 3.98, -33.92)
CIE-LCHlch(34.47, 34.15, 276.69°)
OKLaboklab(43.59% -0.0252 -0.0965)
OKLCHoklch(43.59% 0.1 255.4)
XYZxyz(8.2639, 8.2341, 24.0708)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285287 #875D28
analogous
#288287 #285287 #2E2887
triadic
#285287 #872852 #528728
tetradic
#285287 #872882 #875D28 #28872E
square
#285287 #872882 #875D28 #28872E
split-complementary
#285287 #872E28 #828728
monochromatic
#0C1929 #1A3558 #285287 #366FB6 #5B8ECE

Accessibility & contrast

On white

7.93
#285287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#285287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285287
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285287#FFFFFF#000000##FFFFFF
##2852871.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5689
Deuteranopia (green-blind)
#2C4D86
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285287;
/* rgb */ color: rgb(40, 82, 135);
/* oklch */ color: oklch(43.6% 0.100 255.4);
Tailwind
colors: {
  custom: {
    50: '#6e82aa',
    500: '#285287',
    950: '#000000',
  },
}
SCSS
$custom: #285287;
$custom-light: #6e82aa;
$custom-dark: #000000;
JSON
{
  "hex": "#285287",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 135
  },
  "hsl": {
    "h": 213.474,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43589,
    "c": 0.09977,
    "h": 255.4
  },
  "luminance": 0.08235
}

Semantic roles & 50–950 ramp

primary
#285287
secondary
#B48B57
accent
#9C4ADE
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #285287

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

Preview Lab → · Contrast checker → · Palette generator →

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