#285172#285172

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

Color values

HEX#285172
RGBrgb(40, 81, 114)
HSLhsl(207, 48%, 30%)
HSVhsv(207, 65%, 45%)
CMYKcmyk(64.9%, 28.9%, 0%, 55.3%)
CIE-LABlab(33.03, -3.22, -23.19)
CIE-LCHlch(33.03, 23.41, 262.11°)
OKLaboklab(42.09% -0.0304 -0.0653)
OKLCHoklch(42.09% 0.072 245)
XYZxyz(6.8536, 7.5502, 17.0125)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285172 #724928
analogous
#28726E #285172 #282C72
triadic
#285172 #722851 #517228
tetradic
#285172 #6E2872 #724928 #2C7228
square
#285172 #6E2872 #724928 #2C7228
split-complementary
#285172 #72282C #726E28
monochromatic
#081117 #183145 #285172 #38719F #5290C2

Accessibility & contrast

On white

8.37
#285172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285172
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285172#FFFFFF#000000##FFFFFF
##2851721.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435273
Deuteranopia (green-blind)
#394A71
Tritanopia (blue-blind)
#00595C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #285172;
/* rgb */ color: rgb(40, 81, 114);
/* oklch */ color: oklch(42.1% 0.072 245.0);
Tailwind
colors: {
  custom: {
    50: '#6a819a',
    500: '#285172',
    950: '#000000',
  },
}
SCSS
$custom: #285172;
$custom-light: #6a819a;
$custom-dark: #000000;
JSON
{
  "hex": "#285172",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 206.757,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42094,
    "c": 0.07201,
    "h": 245
  },
  "luminance": 0.07551
}

Semantic roles & 50–950 ramp

primary
#285172
secondary
#A47652
accent
#8D50D8
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #285172

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

Preview Lab → · Contrast checker → · Palette generator →

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