#285579#285579

#285579 is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.5% C 0.078 H 245.1°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#285579
RGBrgb(40, 85, 121)
HSLhsl(207, 50%, 32%)
HSVhsv(207, 67%, 47%)
CMYKcmyk(66.9%, 29.8%, 0%, 52.5%)
CIE-LABlab(34.66, -3.19, -25.00)
CIE-LCHlch(34.66, 25.20, 262.73°)
OKLaboklab(43.49% -0.0327 -0.0705)
OKLCHoklch(43.49% 0.078 245.1)
XYZxyz(7.5735, 8.3278, 19.2938)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285579 #794C28
analogous
#287975 #285579 #282C79
triadic
#285579 #792855 #557928
tetradic
#285579 #752879 #794C28 #2C7928
square
#285579 #752879 #794C28 #2C7928
split-complementary
#285579 #79282C #797528
monochromatic
#0A141D #19354B #285579 #3775A7 #5594C7

Accessibility & contrast

On white

7.88
#285579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#285579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285579
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285579#FFFFFF#000000##FFFFFF
##2855791.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45567B
Deuteranopia (green-blind)
#3A4E78
Tritanopia (blue-blind)
#005E62
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285579;
/* rgb */ color: rgb(40, 85, 121);
/* oklch */ color: oklch(43.5% 0.078 245.1);
Tailwind
colors: {
  custom: {
    50: '#6b84a0',
    500: '#285579',
    950: '#000000',
  },
}
SCSS
$custom: #285579;
$custom-light: #6b84a0;
$custom-dark: #000000;
JSON
{
  "hex": "#285579",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 121
  },
  "hsl": {
    "h": 206.667,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43493,
    "c": 0.07768,
    "h": 245.1
  },
  "luminance": 0.08329
}

Semantic roles & 50–950 ramp

primary
#285579
secondary
#AB7952
accent
#8C4EDA
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #285579

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

Preview Lab → · Contrast checker → · Palette generator →

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