#285F79#285F79

#285F79 is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.0% C 0.071 H 231.7°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#285F79
RGBrgb(40, 95, 121)
HSLhsl(199, 50%, 32%)
HSVhsv(199, 67%, 47%)
CMYKcmyk(66.9%, 21.5%, 0%, 52.5%)
CIE-LABlab(37.87, -9.33, -20.00)
CIE-LCHlch(37.87, 22.07, 244.99°)
OKLaboklab(46.04% -0.0442 -0.056)
OKLCHoklch(46.04% 0.071 231.7)
XYZxyz(8.4171, 10.0151, 19.5750)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285F79 #794228
analogous
#28796B #285F79 #283779
triadic
#285F79 #79285F #5F7928
tetradic
#285F79 #6B2879 #794228 #377928
square
#285F79 #6B2879 #794228 #377928
split-complementary
#285F79 #792837 #796B28
monochromatic
#0A171D #193B4B #285F79 #3783A7 #55A2C7

Accessibility & contrast

On white

6.99
#285F79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#285F79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285F79
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285F79#FFFFFF#000000##FFFFFF
##285F791.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525E7A
Deuteranopia (green-blind)
#475679
Tritanopia (blue-blind)
#006668
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #285f79;
/* rgb */ color: rgb(40, 95, 121);
/* oklch */ color: oklch(46.0% 0.071 231.7);
Tailwind
colors: {
  custom: {
    50: '#6b8c9f',
    500: '#285f79',
    950: '#000000',
  },
}
SCSS
$custom: #285f79;
$custom-light: #6b8c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#285f79",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 121
  },
  "hsl": {
    "h": 199.259,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.46041,
    "c": 0.07132,
    "h": 231.7
  },
  "luminance": 0.10016
}

Semantic roles & 50–950 ramp

primary
#285F79
secondary
#AB6E52
accent
#7B4EDA
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070C0E
muted
#7A7D7E

Preview Lab

Preview with #285F79

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

Preview Lab → · Contrast checker → · Palette generator →

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