#285478#285478

#285478 is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.2% C 0.077 H 245.6°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#285478
RGBrgb(40, 84, 120)
HSLhsl(207, 50%, 31%)
HSVhsv(207, 67%, 47%)
CMYKcmyk(66.7%, 30%, 0%, 52.9%)
CIE-LABlab(34.29, -2.92, -24.95)
CIE-LCHlch(34.29, 25.13, 263.31°)
OKLaboklab(43.19% -0.0319 -0.0703)
OKLCHoklch(43.19% 0.077 245.6)
XYZxyz(7.4343, 8.1471, 18.9464)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285478 #784C28
analogous
#287874 #285478 #282C78
triadic
#285478 #782854 #547828
tetradic
#285478 #742878 #784C28 #2C7828
square
#285478 #742878 #784C28 #2C7828
split-complementary
#285478 #78282C #787428
monochromatic
#09141C #19344A #285478 #3774A6 #5493C6

Accessibility & contrast

On white

7.99
#285478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#285478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285478
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285478#FFFFFF#000000##FFFFFF
##2854781.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44557A
Deuteranopia (green-blind)
#394D77
Tritanopia (blue-blind)
#005D61
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285478;
/* rgb */ color: rgb(40, 84, 120);
/* oklch */ color: oklch(43.2% 0.077 245.6);
Tailwind
colors: {
  custom: {
    50: '#6b839f',
    500: '#285478',
    950: '#000000',
  },
}
SCSS
$custom: #285478;
$custom-light: #6b839f;
$custom-dark: #000000;
JSON
{
  "hex": "#285478",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 120
  },
  "hsl": {
    "h": 207,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43185,
    "c": 0.07723,
    "h": 245.6
  },
  "luminance": 0.08148
}

Semantic roles & 50–950 ramp

primary
#285478
secondary
#AA7952
accent
#8D4EDA
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #285478

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

Preview Lab → · Contrast checker → · Palette generator →

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