#285187#285187

#285187 is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.3% C 0.101 H 256.2°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#285187
RGBrgb(40, 81, 135)
HSLhsl(214, 54%, 34%)
HSVhsv(214, 70%, 53%)
CMYKcmyk(70.4%, 40%, 0%, 47.1%)
CIE-LABlab(34.16, 4.64, -34.41)
CIE-LCHlch(34.16, 34.72, 277.68°)
OKLaboklab(43.35% -0.0241 -0.098)
OKLCHoklch(43.35% 0.101 256.2)
XYZxyz(8.1891, 8.0844, 24.0458)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285187 #875E28
analogous
#288187 #285187 #2E2887
triadic
#285187 #872851 #518728
tetradic
#285187 #872881 #875E28 #28872E
square
#285187 #872881 #875E28 #28872E
split-complementary
#285187 #872E28 #818728
monochromatic
#0C1829 #1A3558 #285187 #366DB6 #5B8DCE

Accessibility & contrast

On white

8.02
#285187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#285187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285187
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285187#FFFFFF#000000##FFFFFF
##2851871.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385589
Deuteranopia (green-blind)
#2A4C86
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #285187;
/* rgb */ color: rgb(40, 81, 135);
/* oklch */ color: oklch(43.3% 0.101 256.2);
Tailwind
colors: {
  custom: {
    50: '#6e81aa',
    500: '#285187',
    950: '#000000',
  },
}
SCSS
$custom: #285187;
$custom-light: #6e81aa;
$custom-dark: #000000;
JSON
{
  "hex": "#285187",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 135
  },
  "hsl": {
    "h": 214.105,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43349,
    "c": 0.10091,
    "h": 256.2
  },
  "luminance": 0.08085
}

Semantic roles & 50–950 ramp

primary
#285187
secondary
#B48C57
accent
#9E4ADE
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #285187

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

Preview Lab → · Contrast checker → · Palette generator →

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