#28517D#28517D

#28517D is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.7% C 0.087 H 252.0°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#28517D
RGBrgb(40, 81, 125)
HSLhsl(211, 52%, 32%)
HSVhsv(211, 68%, 49%)
CMYKcmyk(68%, 35.2%, 0%, 51%)
CIE-LABlab(33.60, 0.85, -29.14)
CIE-LCHlch(33.60, 29.15, 271.67°)
OKLaboklab(42.73% -0.0269 -0.0826)
OKLCHoklch(42.73% 0.087 252)
XYZxyz(7.5178, 7.8159, 20.5105)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28517D #7D5428
analogous
#287B7D #28517D #2A287D
triadic
#28517D #7D2851 #517D28
tetradic
#28517D #7D287B #7D5428 #287D2A
square
#28517D #7D287B #7D5428 #287D2A
split-complementary
#28517D #7D2A28 #7B7D28
monochromatic
#0A1520 #19334F #28517D #376FAB #568EC9

Accessibility & contrast

On white

8.19
#28517D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#28517D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28517D
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28517D#FFFFFF#000000##FFFFFF
##28517D1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E537F
Deuteranopia (green-blind)
#324B7C
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #28517d;
/* rgb */ color: rgb(40, 81, 125);
/* oklch */ color: oklch(42.7% 0.087 252.0);
Tailwind
colors: {
  custom: {
    50: '#6c81a3',
    500: '#28517d',
    950: '#000000',
  },
}
SCSS
$custom: #28517d;
$custom-light: #6c81a3;
$custom-dark: #000000;
JSON
{
  "hex": "#28517d",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 211.059,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42727,
    "c": 0.08683,
    "h": 252
  },
  "luminance": 0.07817
}

Semantic roles & 50–950 ramp

primary
#28517D
secondary
#AE8253
accent
#964DDB
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #28517D

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

Preview Lab → · Contrast checker → · Palette generator →

#28517D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva