#285173#285173

#285173 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.1% C 0.073 H 245.8°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#285173
RGBrgb(40, 81, 115)
HSLhsl(207, 48%, 30%)
HSVhsv(207, 65%, 45%)
CMYKcmyk(65.2%, 29.6%, 0%, 54.9%)
CIE-LABlab(33.08, -2.85, -23.74)
CIE-LCHlch(33.08, 23.91, 263.15°)
OKLaboklab(42.15% -0.0301 -0.0669)
OKLCHoklch(42.15% 0.073 245.8)
XYZxyz(6.9109, 7.5731, 17.3139)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285173 #734A28
analogous
#28736F #285173 #282B73
triadic
#285173 #732851 #517328
tetradic
#285173 #6F2873 #734A28 #2B7328
square
#285173 #6F2873 #734A28 #2B7328
split-complementary
#285173 #73282B #736F28
monochromatic
#081118 #183146 #285173 #3871A0 #5290C3

Accessibility & contrast

On white

8.35
#285173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#285173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285173
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285173#FFFFFF#000000##FFFFFF
##2851731.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425275
Deuteranopia (green-blind)
#384A72
Tritanopia (blue-blind)
#00595D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #285173;
/* rgb */ color: rgb(40, 81, 115);
/* oklch */ color: oklch(42.1% 0.073 245.8);
Tailwind
colors: {
  custom: {
    50: '#6a819b',
    500: '#285173',
    950: '#000000',
  },
}
SCSS
$custom: #285173;
$custom-light: #6a819b;
$custom-dark: #000000;
JSON
{
  "hex": "#285173",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 115
  },
  "hsl": {
    "h": 207.2,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42149,
    "c": 0.07331,
    "h": 245.8
  },
  "luminance": 0.07574
}

Semantic roles & 50–950 ramp

primary
#285173
secondary
#A57752
accent
#8E50D8
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #285173

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

Preview Lab → · Contrast checker → · Palette generator →

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