#285179#285179

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

Color values

HEX#285179
RGBrgb(40, 81, 121)
HSLhsl(210, 50%, 32%)
HSVhsv(210, 67%, 47%)
CMYKcmyk(66.9%, 33.1%, 0%, 52.5%)
CIE-LABlab(33.38, -0.64, -26.99)
CIE-LCHlch(33.38, 27.00, 268.64°)
OKLaboklab(42.49% -0.0281 -0.0763)
OKLCHoklch(42.49% 0.081 249.8)
XYZxyz(7.2674, 7.7157, 19.1917)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285179 #795028
analogous
#287979 #285179 #282879
triadic
#285179 #792851 #517928
tetradic
#285179 #792879 #795028 #287928
square
#285179 #792879 #795028 #287928
split-complementary
#285179 #792828 #797928
monochromatic
#0A131D #19324B #285179 #3770A7 #558EC7

Accessibility & contrast

On white

8.26
#285179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285179
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285179#FFFFFF#000000##FFFFFF
##2851791.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #285179;
/* rgb */ color: rgb(40, 81, 121);
/* oklch */ color: oklch(42.5% 0.081 249.8);
Tailwind
colors: {
  custom: {
    50: '#6b81a0',
    500: '#285179',
    950: '#000000',
  },
}
SCSS
$custom: #285179;
$custom-light: #6b81a0;
$custom-dark: #000000;
JSON
{
  "hex": "#285179",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 121
  },
  "hsl": {
    "h": 209.63,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42491,
    "c": 0.08132,
    "h": 249.8
  },
  "luminance": 0.07716
}

Semantic roles & 50–950 ramp

primary
#285179
secondary
#AB7E52
accent
#934EDA
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #285179

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

Preview Lab → · Contrast checker → · Palette generator →

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