#28517E#28517E

#28517E is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.8% C 0.088 H 252.5°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#28517E
RGBrgb(40, 81, 126)
HSLhsl(211, 52%, 33%)
HSVhsv(211, 68%, 49%)
CMYKcmyk(68.3%, 35.7%, 0%, 50.6%)
CIE-LABlab(33.65, 1.23, -29.67)
CIE-LCHlch(33.65, 29.70, 272.37°)
OKLaboklab(42.79% -0.0266 -0.0841)
OKLCHoklch(42.79% 0.088 252.5)
XYZxyz(7.5820, 7.8416, 20.8486)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28517E #7E5528
analogous
#287C7E #28517E #2A287E
triadic
#28517E #7E2851 #517E28
tetradic
#28517E #7E287C #7E5528 #287E2A
square
#28517E #7E287C #7E5528 #287E2A
split-complementary
#28517E #7E2A28 #7C7E28
monochromatic
#0B1521 #193350 #28517E #376FAC #578ECA

Accessibility & contrast

On white

8.18
#28517E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#28517E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28517E
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28517E#FFFFFF#000000##FFFFFF
##28517E1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5480
Deuteranopia (green-blind)
#314B7D
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #28517e;
/* rgb */ color: rgb(40, 81, 126);
/* oklch */ color: oklch(42.8% 0.088 252.5);
Tailwind
colors: {
  custom: {
    50: '#6c81a3',
    500: '#28517e',
    950: '#000000',
  },
}
SCSS
$custom: #28517e;
$custom-light: #6c81a3;
$custom-dark: #000000;
JSON
{
  "hex": "#28517e",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 211.395,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42788,
    "c": 0.08821,
    "h": 252.5
  },
  "luminance": 0.07842
}

Semantic roles & 50–950 ramp

primary
#28517E
secondary
#AF8353
accent
#974DDB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #28517E

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

Preview Lab → · Contrast checker → · Palette generator →

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