#28538E#28538E

#28538E is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.3% C 0.109 H 256.9°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#28538E
RGBrgb(40, 83, 142)
HSLhsl(215, 56%, 36%)
HSVhsv(215, 72%, 56%)
CMYKcmyk(71.8%, 41.5%, 0%, 44.3%)
CIE-LABlab(35.18, 6.00, -37.06)
CIE-LCHlch(35.18, 37.54, 279.20°)
OKLaboklab(44.28% -0.0245 -0.1057)
OKLCHoklch(44.28% 0.109 256.9)
XYZxyz(8.8490, 8.5897, 26.7776)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28538E #8E6328
analogous
#28868E #28538E #30288E
triadic
#28538E #8E2853 #538E28
tetradic
#28538E #8E2886 #8E6328 #288E30
square
#28538E #8E2886 #8E6328 #288E30
split-complementary
#28538E #8E3028 #868E28
monochromatic
#0D1B2F #1B375E #28538E #356FBE #5F8FD2

Accessibility & contrast

On white

7.73
#28538E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#28538E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28538E
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28538E#FFFFFF#000000##FFFFFF
##28538E1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375890
Deuteranopia (green-blind)
#274E8D
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #28538e;
/* rgb */ color: rgb(40, 83, 142);
/* oklch */ color: oklch(44.3% 0.109 256.9);
Tailwind
colors: {
  custom: {
    50: '#6f82af',
    500: '#28538e',
    950: '#000000',
  },
}
SCSS
$custom: #28538e;
$custom-light: #6f82af;
$custom-dark: #000000;
JSON
{
  "hex": "#28538e",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 142
  },
  "hsl": {
    "h": 214.706,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4428,
    "c": 0.10852,
    "h": 256.9
  },
  "luminance": 0.08591
}

Semantic roles & 50–950 ramp

primary
#28538E
secondary
#B7905B
accent
#A048DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #28538E

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

Preview Lab → · Contrast checker → · Palette generator →

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