#28527E#28527E

#28527E is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.0% C 0.087 H 251.5°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#28527E
RGBrgb(40, 82, 126)
HSLhsl(211, 52%, 33%)
HSVhsv(211, 68%, 49%)
CMYKcmyk(68.3%, 34.9%, 0%, 50.6%)
CIE-LABlab(33.96, 0.58, -29.18)
CIE-LCHlch(33.96, 29.18, 271.14°)
OKLaboklab(43.03% -0.0277 -0.0826)
OKLCHoklch(43.03% 0.087 251.5)
XYZxyz(7.6569, 7.9913, 20.8736)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28527E #7E5428
analogous
#287D7E #28527E #29287E
triadic
#28527E #7E2852 #527E28
tetradic
#28527E #7E287D #7E5428 #287E29
square
#28527E #7E287D #7E5428 #287E29
split-complementary
#28527E #7E2928 #7D7E28
monochromatic
#0B1621 #193450 #28527E #3770AC #578FCA

Accessibility & contrast

On white

8.08
#28527E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#28527E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28527E
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28527E#FFFFFF#000000##FFFFFF
##28527E1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5480
Deuteranopia (green-blind)
#334C7D
Tritanopia (blue-blind)
#005C62
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #28527e;
/* rgb */ color: rgb(40, 82, 126);
/* oklch */ color: oklch(43.0% 0.087 251.5);
Tailwind
colors: {
  custom: {
    50: '#6c82a3',
    500: '#28527e',
    950: '#000000',
  },
}
SCSS
$custom: #28527e;
$custom-light: #6c82a3;
$custom-dark: #000000;
JSON
{
  "hex": "#28527e",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 126
  },
  "hsl": {
    "h": 210.698,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43034,
    "c": 0.08717,
    "h": 251.5
  },
  "luminance": 0.07992
}

Semantic roles & 50–950 ramp

primary
#28527E
secondary
#AF8253
accent
#964DDB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #28527E

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

Preview Lab → · Contrast checker → · Palette generator →

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