#28527B#28527B

#28527B is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.9% C 0.083 H 249.9°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#28527B
RGBrgb(40, 82, 123)
HSLhsl(210, 51%, 32%)
HSVhsv(210, 67%, 48%)
CMYKcmyk(67.5%, 33.3%, 0%, 51.8%)
CIE-LABlab(33.81, -0.54, -27.57)
CIE-LCHlch(33.81, 27.58, 268.88°)
OKLaboklab(42.86% -0.0286 -0.078)
OKLCHoklch(42.86% 0.083 249.9)
XYZxyz(7.4662, 7.9150, 19.8693)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28527B #7B5128
analogous
#287B7B #28527B #28287B
triadic
#28527B #7B2852 #527B28
tetradic
#28527B #7B287B #7B5128 #287B28
square
#28527B #7B287B #7B5128 #287B28
split-complementary
#28527B #7B2828 #7B7B28
monochromatic
#0A141F #19334D #28527B #3771A9 #568FC8

Accessibility & contrast

On white

8.13
#28527B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#28527B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28527B
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28527B#FFFFFF#000000##FFFFFF
##28527B1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40547D
Deuteranopia (green-blind)
#354C7A
Tritanopia (blue-blind)
#005C61
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #28527b;
/* rgb */ color: rgb(40, 82, 123);
/* oklch */ color: oklch(42.9% 0.083 249.9);
Tailwind
colors: {
  custom: {
    50: '#6b82a1',
    500: '#28527b',
    950: '#000000',
  },
}
SCSS
$custom: #28527b;
$custom-light: #6b82a1;
$custom-dark: #000000;
JSON
{
  "hex": "#28527b",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 123
  },
  "hsl": {
    "h": 209.639,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42856,
    "c": 0.08306,
    "h": 249.9
  },
  "luminance": 0.07916
}

Semantic roles & 50–950 ramp

primary
#28527B
secondary
#AD7F52
accent
#934DDA
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #28527B

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

Preview Lab → · Contrast checker → · Palette generator →

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