#285189#285189

#285189 is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.5% C 0.104 H 256.8°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#285189
RGBrgb(40, 81, 137)
HSLhsl(215, 55%, 35%)
HSVhsv(215, 71%, 54%)
CMYKcmyk(70.8%, 40.9%, 0%, 46.3%)
CIE-LABlab(34.28, 5.40, -35.45)
CIE-LCHlch(34.28, 35.86, 278.66°)
OKLaboklab(43.48% -0.0237 -0.101)
OKLCHoklch(43.48% 0.104 256.8)
XYZxyz(8.3312, 8.1413, 24.7944)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285189 #896028
analogous
#288289 #285189 #302889
triadic
#285189 #892851 #518928
tetradic
#285189 #892882 #896028 #288930
square
#285189 #892882 #896028 #288930
split-complementary
#285189 #893028 #828928
monochromatic
#0C192A #1A355A #285189 #366DB8 #5C8DCF

Accessibility & contrast

On white

7.99
#285189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#285189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285189
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285189#FFFFFF#000000##FFFFFF
##2851891.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568B
Deuteranopia (green-blind)
#284C88
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285189;
/* rgb */ color: rgb(40, 81, 137);
/* oklch */ color: oklch(43.5% 0.104 256.8);
Tailwind
colors: {
  custom: {
    50: '#6e81ac',
    500: '#285189',
    950: '#000000',
  },
}
SCSS
$custom: #285189;
$custom-light: #6e81ac;
$custom-dark: #000000;
JSON
{
  "hex": "#285189",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 137
  },
  "hsl": {
    "h": 214.639,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43479,
    "c": 0.10376,
    "h": 256.8
  },
  "luminance": 0.08142
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #285189

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

Preview Lab → · Contrast checker → · Palette generator →

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