#285F78#285F78

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

Color values

HEX#285F78
RGBrgb(40, 95, 120)
HSLhsl(199, 50%, 31%)
HSVhsv(199, 67%, 47%)
CMYKcmyk(66.7%, 20.8%, 0%, 52.9%)
CIE-LABlab(37.83, -9.68, -19.45)
CIE-LCHlch(37.83, 21.73, 243.54°)
OKLaboklab(45.99% -0.0446 -0.0544)
OKLCHoklch(45.99% 0.07 230.7)
XYZxyz(8.3561, 9.9907, 19.2537)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285F78 #784128
analogous
#287869 #285F78 #283778
triadic
#285F78 #78285F #5F7828
tetradic
#285F78 #692878 #784128 #377828
square
#285F78 #692878 #784128 #377828
split-complementary
#285F78 #782837 #786928
monochromatic
#09161C #193B4A #285F78 #3783A6 #54A3C6

Accessibility & contrast

On white

7.00
#285F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285F78
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285F78#FFFFFF#000000##FFFFFF
##285F781.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525E79
Deuteranopia (green-blind)
#475578
Tritanopia (blue-blind)
#006667
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #285f78;
/* rgb */ color: rgb(40, 95, 120);
/* oklch */ color: oklch(46.0% 0.070 230.7);
Tailwind
colors: {
  custom: {
    50: '#6b8c9f',
    500: '#285f78',
    950: '#000000',
  },
}
SCSS
$custom: #285f78;
$custom-light: #6b8c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#285f78",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 120
  },
  "hsl": {
    "h": 198.75,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.45991,
    "c": 0.07034,
    "h": 230.7
  },
  "luminance": 0.09992
}

Semantic roles & 50–950 ramp

primary
#285F78
secondary
#AA6D52
accent
#7A4EDA
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070C0E
muted
#7A7D7E

Preview Lab

Preview with #285F78

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

Preview Lab → · Contrast checker → · Palette generator →

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