#285188#285188

#285188 is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.4% C 0.102 H 256.5°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#285188
RGBrgb(40, 81, 136)
HSLhsl(214, 55%, 35%)
HSVhsv(214, 71%, 53%)
CMYKcmyk(70.6%, 40.4%, 0%, 46.7%)
CIE-LABlab(34.22, 5.02, -34.93)
CIE-LCHlch(34.22, 35.29, 278.18°)
OKLaboklab(43.41% -0.0239 -0.0995)
OKLCHoklch(43.41% 0.102 256.5)
XYZxyz(8.2598, 8.1127, 24.4184)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285188 #885F28
analogous
#288188 #285188 #2F2888
triadic
#285188 #882851 #518828
tetradic
#285188 #882881 #885F28 #28882F
square
#285188 #882881 #885F28 #28882F
split-complementary
#285188 #882F28 #818828
monochromatic
#0C1929 #1A3559 #285188 #366DB7 #5B8DCF

Accessibility & contrast

On white

8.01
#285188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285188
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285188#FFFFFF#000000##FFFFFF
##2851881.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38558A
Deuteranopia (green-blind)
#294C87
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #285188;
/* rgb */ color: rgb(40, 81, 136);
/* oklch */ color: oklch(43.4% 0.102 256.5);
Tailwind
colors: {
  custom: {
    50: '#6e81ab',
    500: '#285188',
    950: '#000000',
  },
}
SCSS
$custom: #285188;
$custom-light: #6e81ab;
$custom-dark: #000000;
JSON
{
  "hex": "#285188",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 136
  },
  "hsl": {
    "h": 214.375,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43414,
    "c": 0.10233,
    "h": 256.5
  },
  "luminance": 0.08114
}

Semantic roles & 50–950 ramp

primary
#285188
secondary
#B48D58
accent
#9F4ADE
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #285188

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

Preview Lab → · Contrast checker → · Palette generator →

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