#28517A#28517A

#28517A is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.5% C 0.083 H 250.4°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#28517A
RGBrgb(40, 81, 122)
HSLhsl(210, 51%, 32%)
HSVhsv(210, 67%, 48%)
CMYKcmyk(67.2%, 33.6%, 0%, 52.2%)
CIE-LABlab(33.44, -0.27, -27.53)
CIE-LCHlch(33.44, 27.53, 269.44°)
OKLaboklab(42.55% -0.0278 -0.0779)
OKLCHoklch(42.55% 0.083 250.4)
XYZxyz(7.3291, 7.7404, 19.5164)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28517A #7A5128
analogous
#287A7A #28517A #28287A
triadic
#28517A #7A2851 #517A28
tetradic
#28517A #7A287A #7A5128 #287A28
square
#28517A #7A287A #7A5128 #287A28
split-complementary
#28517A #7A2828 #7A7A28
monochromatic
#0A141E #19324C #28517A #3770A8 #558EC7

Accessibility & contrast

On white

8.24
#28517A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#28517A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28517A
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28517A#FFFFFF#000000##FFFFFF
##28517A1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F537C
Deuteranopia (green-blind)
#344B79
Tritanopia (blue-blind)
#005B60
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #28517a;
/* rgb */ color: rgb(40, 81, 122);
/* oklch */ color: oklch(42.5% 0.083 250.4);
Tailwind
colors: {
  custom: {
    50: '#6b81a0',
    500: '#28517a',
    950: '#000000',
  },
}
SCSS
$custom: #28517a;
$custom-light: #6b81a0;
$custom-dark: #000000;
JSON
{
  "hex": "#28517a",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 122
  },
  "hsl": {
    "h": 210,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42549,
    "c": 0.08268,
    "h": 250.4
  },
  "luminance": 0.07741
}

Semantic roles & 50–950 ramp

primary
#28517A
secondary
#AC7F52
accent
#944EDA
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #28517A

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

Preview Lab → · Contrast checker → · Palette generator →

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