#285387#285387

#285387 is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.8% C 0.099 H 254.6°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#285387
RGBrgb(40, 83, 135)
HSLhsl(213, 54%, 34%)
HSVhsv(213, 70%, 53%)
CMYKcmyk(70.4%, 38.5%, 0%, 47.1%)
CIE-LABlab(34.77, 3.33, -33.43)
CIE-LCHlch(34.77, 33.60, 275.69°)
OKLaboklab(43.83% -0.0262 -0.0951)
OKLCHoklch(43.83% 0.099 254.6)
XYZxyz(8.3399, 8.3860, 24.0961)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285387 #875C28
analogous
#288387 #285387 #2C2887
triadic
#285387 #872853 #538728
tetradic
#285387 #872883 #875C28 #28872C
square
#285387 #872883 #875C28 #28872C
split-complementary
#285387 #872C28 #838728
monochromatic
#0C1929 #1A3658 #285387 #3670B6 #5B8FCE

Accessibility & contrast

On white

7.84
#285387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#285387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285387
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285387#FFFFFF#000000##FFFFFF
##2853871.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5789
Deuteranopia (green-blind)
#2E4E86
Tritanopia (blue-blind)
#005F66
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285387;
/* rgb */ color: rgb(40, 83, 135);
/* oklch */ color: oklch(43.8% 0.099 254.6);
Tailwind
colors: {
  custom: {
    50: '#6e83aa',
    500: '#285387',
    950: '#000000',
  },
}
SCSS
$custom: #285387;
$custom-light: #6e83aa;
$custom-dark: #000000;
JSON
{
  "hex": "#285387",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 135
  },
  "hsl": {
    "h": 212.842,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4383,
    "c": 0.09864,
    "h": 254.6
  },
  "luminance": 0.08387
}

Semantic roles & 50–950 ramp

primary
#285387
secondary
#B48A57
accent
#9B4ADE
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #285387

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

Preview Lab → · Contrast checker → · Palette generator →

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