#285B79#285B79

#285B79 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.0% C 0.073 H 237.3°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#285B79
RGBrgb(40, 91, 121)
HSLhsl(202, 50%, 32%)
HSVhsv(202, 67%, 47%)
CMYKcmyk(66.9%, 24.8%, 0%, 52.5%)
CIE-LABlab(36.58, -6.91, -22.00)
CIE-LCHlch(36.58, 23.06, 252.55°)
OKLaboklab(45.02% -0.0396 -0.0617)
OKLCHoklch(45.02% 0.073 237.3)
XYZxyz(8.0660, 9.3129, 19.4579)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285B79 #794628
analogous
#28796F #285B79 #283379
triadic
#285B79 #79285B #5B7928
tetradic
#285B79 #6F2879 #794628 #337928
square
#285B79 #6F2879 #794628 #337928
split-complementary
#285B79 #792833 #796F28
monochromatic
#0A161D #19384B #285B79 #377EA7 #559CC7

Accessibility & contrast

On white

7.34
#285B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#285B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285B79
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285B79#FFFFFF#000000##FFFFFF
##285B791.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5B7A
Deuteranopia (green-blind)
#425278
Tritanopia (blue-blind)
#006365
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #285b79;
/* rgb */ color: rgb(40, 91, 121);
/* oklch */ color: oklch(45.0% 0.073 237.3);
Tailwind
colors: {
  custom: {
    50: '#6b89a0',
    500: '#285b79',
    950: '#000000',
  },
}
SCSS
$custom: #285b79;
$custom-light: #6b89a0;
$custom-dark: #000000;
JSON
{
  "hex": "#285b79",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 121
  },
  "hsl": {
    "h": 202.222,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45015,
    "c": 0.07335,
    "h": 237.3
  },
  "luminance": 0.09314
}

Semantic roles & 50–950 ramp

primary
#285B79
secondary
#AB7352
accent
#824EDA
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #285B79

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

Preview Lab → · Contrast checker → · Palette generator →

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