#28528B#28528B

#28528B is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.8% C 0.105 H 256.7°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#28528B
RGBrgb(40, 82, 139)
HSLhsl(215, 55%, 35%)
HSVhsv(215, 71%, 55%)
CMYKcmyk(71.2%, 41%, 0%, 45.5%)
CIE-LABlab(34.70, 5.51, -36.00)
CIE-LCHlch(34.70, 36.42, 278.70°)
OKLaboklab(43.85% -0.0242 -0.1026)
OKLCHoklch(43.85% 0.105 256.7)
XYZxyz(8.5509, 8.3489, 25.5819)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28528B #8B6128
analogous
#28848B #28528B #2F288B
triadic
#28528B #8B2852 #528B28
tetradic
#28528B #8B2884 #8B6128 #288B2F
square
#28528B #8B2884 #8B6128 #288B2F
split-complementary
#28528B #8B2F28 #848B28
monochromatic
#0D1A2C #1A365B #28528B #366EBB #5D8ED0

Accessibility & contrast

On white

7.87
#28528B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#28528B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28528B
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28528B#FFFFFF#000000##FFFFFF
##28528B1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38578D
Deuteranopia (green-blind)
#284D8A
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #28528b;
/* rgb */ color: rgb(40, 82, 139);
/* oklch */ color: oklch(43.8% 0.105 256.7);
Tailwind
colors: {
  custom: {
    50: '#6e82ad',
    500: '#28528b',
    950: '#000000',
  },
}
SCSS
$custom: #28528b;
$custom-light: #6e82ad;
$custom-dark: #000000;
JSON
{
  "hex": "#28528b",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 139
  },
  "hsl": {
    "h": 214.545,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43847,
    "c": 0.10544,
    "h": 256.7
  },
  "luminance": 0.0835
}

Semantic roles & 50–950 ramp

primary
#28528B
secondary
#B68E59
accent
#9F49DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #28528B

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

Preview Lab → · Contrast checker → · Palette generator →

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