#285778#285778

#285778 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 43.9% C 0.075 H 241.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#285778
RGBrgb(40, 87, 120)
HSLhsl(205, 50%, 31%)
HSVhsv(205, 67%, 47%)
CMYKcmyk(66.7%, 27.5%, 0%, 52.9%)
CIE-LABlab(35.25, -4.81, -23.45)
CIE-LCHlch(35.25, 23.94, 258.42°)
OKLaboklab(43.94% -0.0353 -0.066)
OKLCHoklch(43.94% 0.075 241.8)
XYZxyz(7.6721, 8.6228, 19.0257)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285778 #784928
analogous
#287871 #285778 #282F78
triadic
#285778 #782857 #577828
tetradic
#285778 #712878 #784928 #2F7828
square
#285778 #712878 #784928 #2F7828
split-complementary
#285778 #78282F #787128
monochromatic
#09141C #19364A #285778 #3778A6 #5497C6

Accessibility & contrast

On white

7.71
#285778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#285778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285778
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285778#FFFFFF#000000##FFFFFF
##2857781.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48577A
Deuteranopia (green-blind)
#3D4F77
Tritanopia (blue-blind)
#005F62
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #285778;
/* rgb */ color: rgb(40, 87, 120);
/* oklch */ color: oklch(43.9% 0.075 241.8);
Tailwind
colors: {
  custom: {
    50: '#6b869f',
    500: '#285778',
    950: '#000000',
  },
}
SCSS
$custom: #285778;
$custom-light: #6b869f;
$custom-dark: #000000;
JSON
{
  "hex": "#285778",
  "rgb": {
    "r": 40,
    "g": 87,
    "b": 120
  },
  "hsl": {
    "h": 204.75,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43944,
    "c": 0.07485,
    "h": 241.8
  },
  "luminance": 0.08624
}

Semantic roles & 50–950 ramp

primary
#285778
secondary
#AA7652
accent
#884EDA
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #285778

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

Preview Lab → · Contrast checker → · Palette generator →

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