#285A79#285A79

#285A79 is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 44.8% C 0.074 H 238.7°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#285A79
RGBrgb(40, 90, 121)
HSLhsl(203, 50%, 32%)
HSVhsv(203, 67%, 47%)
CMYKcmyk(66.9%, 25.6%, 0%, 52.5%)
CIE-LABlab(36.26, -6.30, -22.50)
CIE-LCHlch(36.26, 23.36, 254.35°)
OKLaboklab(44.76% -0.0384 -0.0632)
OKLCHoklch(44.76% 0.074 238.7)
XYZxyz(7.9811, 9.1431, 19.4296)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285A79 #794728
analogous
#287970 #285A79 #283279
triadic
#285A79 #79285A #5A7928
tetradic
#285A79 #702879 #794728 #327928
square
#285A79 #702879 #794728 #327928
split-complementary
#285A79 #792832 #797028
monochromatic
#0A161D #19384B #285A79 #377CA7 #559BC7

Accessibility & contrast

On white

7.42
#285A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#285A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285A79
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285A79#FFFFFF#000000##FFFFFF
##285A791.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5A7A
Deuteranopia (green-blind)
#415278
Tritanopia (blue-blind)
#006265
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #285a79;
/* rgb */ color: rgb(40, 90, 121);
/* oklch */ color: oklch(44.8% 0.074 238.7);
Tailwind
colors: {
  custom: {
    50: '#6b88a0',
    500: '#285a79',
    950: '#000000',
  },
}
SCSS
$custom: #285a79;
$custom-light: #6b88a0;
$custom-dark: #000000;
JSON
{
  "hex": "#285a79",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 121
  },
  "hsl": {
    "h": 202.963,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4476,
    "c": 0.07396,
    "h": 238.7
  },
  "luminance": 0.09144
}

Semantic roles & 50–950 ramp

primary
#285A79
secondary
#AB7452
accent
#844EDA
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #285A79

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

Preview Lab → · Contrast checker → · Palette generator →

#285A79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva