#285186#285186

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

Color values

HEX#285186
RGBrgb(40, 81, 134)
HSLhsl(214, 54%, 34%)
HSVhsv(214, 70%, 53%)
CMYKcmyk(70.1%, 39.6%, 0%, 47.5%)
CIE-LABlab(34.10, 4.26, -33.89)
CIE-LCHlch(34.10, 34.15, 277.16°)
OKLaboklab(43.29% -0.0244 -0.0964)
OKLCHoklch(43.29% 0.099 255.8)
XYZxyz(8.1190, 8.0564, 23.6768)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285186 #865D28
analogous
#288086 #285186 #2E2886
triadic
#285186 #862851 #518628
tetradic
#285186 #862880 #865D28 #28862E
square
#285186 #862880 #865D28 #28862E
split-complementary
#285186 #862E28 #808628
monochromatic
#0C1828 #1A3557 #285186 #366DB5 #5B8DCE

Accessibility & contrast

On white

8.04
#285186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#285186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285186
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285186#FFFFFF#000000##FFFFFF
##2851861.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #285186;
/* rgb */ color: rgb(40, 81, 134);
/* oklch */ color: oklch(43.3% 0.099 255.8);
Tailwind
colors: {
  custom: {
    50: '#6d81a9',
    500: '#285186',
    950: '#000000',
  },
}
SCSS
$custom: #285186;
$custom-light: #6d81a9;
$custom-dark: #000000;
JSON
{
  "hex": "#285186",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 134
  },
  "hsl": {
    "h": 213.83,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43285,
    "c": 0.09949,
    "h": 255.8
  },
  "luminance": 0.08057
}

Semantic roles & 50–950 ramp

primary
#285186
secondary
#B38B57
accent
#9D4ADD
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #285186

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

Preview Lab → · Contrast checker → · Palette generator →

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