#285178#285178

#285178 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.4% C 0.080 H 249.2°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#285178
RGBrgb(40, 81, 120)
HSLhsl(209, 50%, 31%)
HSVhsv(209, 67%, 47%)
CMYKcmyk(66.7%, 32.5%, 0%, 52.9%)
CIE-LABlab(33.33, -1.01, -26.45)
CIE-LCHlch(33.33, 26.47, 267.81°)
OKLaboklab(42.43% -0.0284 -0.0747)
OKLCHoklch(42.43% 0.08 249.2)
XYZxyz(7.2064, 7.6913, 18.8705)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285178 #784F28
analogous
#287877 #285178 #282978
triadic
#285178 #782851 #517828
tetradic
#285178 #772878 #784F28 #297828
square
#285178 #772878 #784F28 #297828
split-complementary
#285178 #782829 #787728
monochromatic
#09131C #19324A #285178 #3770A6 #548FC6

Accessibility & contrast

On white

8.27
#285178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#285178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285178
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285178#FFFFFF#000000##FFFFFF
##2851781.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40537A
Deuteranopia (green-blind)
#354B77
Tritanopia (blue-blind)
#005A5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #285178;
/* rgb */ color: rgb(40, 81, 120);
/* oklch */ color: oklch(42.4% 0.080 249.2);
Tailwind
colors: {
  custom: {
    50: '#6b819f',
    500: '#285178',
    950: '#000000',
  },
}
SCSS
$custom: #285178;
$custom-light: #6b819f;
$custom-dark: #000000;
JSON
{
  "hex": "#285178",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 209.25,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42433,
    "c": 0.07996,
    "h": 249.2
  },
  "luminance": 0.07692
}

Semantic roles & 50–950 ramp

primary
#285178
secondary
#AA7D52
accent
#924EDA
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #285178

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

Preview Lab → · Contrast checker → · Palette generator →

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