#285177#285177

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

Color values

HEX#285177
RGBrgb(40, 81, 119)
HSLhsl(209, 50%, 31%)
HSVhsv(209, 66%, 47%)
CMYKcmyk(66.4%, 31.9%, 0%, 53.3%)
CIE-LABlab(33.28, -1.38, -25.91)
CIE-LCHlch(33.28, 25.95, 266.94°)
OKLaboklab(42.38% -0.0287 -0.0732)
OKLCHoklch(42.38% 0.079 248.6)
XYZxyz(7.1460, 7.6672, 18.5525)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285177 #774E28
analogous
#287775 #285177 #282977
triadic
#285177 #772851 #517728
tetradic
#285177 #752877 #774E28 #297728
square
#285177 #752877 #774E28 #297728
split-complementary
#285177 #772829 #777528
monochromatic
#09131B #193249 #285177 #3770A5 #548FC5

Accessibility & contrast

On white

8.29
#285177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#285177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285177
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285177#FFFFFF#000000##FFFFFF
##2851771.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405279
Deuteranopia (green-blind)
#364B76
Tritanopia (blue-blind)
#005A5E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #285177;
/* rgb */ color: rgb(40, 81, 119);
/* oklch */ color: oklch(42.4% 0.079 248.6);
Tailwind
colors: {
  custom: {
    50: '#6b819e',
    500: '#285177',
    950: '#000000',
  },
}
SCSS
$custom: #285177;
$custom-light: #6b819e;
$custom-dark: #000000;
JSON
{
  "hex": "#285177",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 119
  },
  "hsl": {
    "h": 208.861,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42375,
    "c": 0.0786,
    "h": 248.6
  },
  "luminance": 0.07668
}

Semantic roles & 50–950 ramp

primary
#285177
secondary
#A97C52
accent
#914FD9
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #285177

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

Preview Lab → · Contrast checker → · Palette generator →

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