#28538C#28538C

#28538C is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 44.1% C 0.106 H 256.3°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#28538C
RGBrgb(40, 83, 140)
HSLhsl(214, 56%, 35%)
HSVhsv(214, 71%, 55%)
CMYKcmyk(71.4%, 40.7%, 0%, 45.1%)
CIE-LABlab(35.06, 5.24, -36.03)
CIE-LCHlch(35.06, 36.41, 278.27°)
OKLaboklab(44.15% -0.025 -0.1027)
OKLCHoklch(44.15% 0.106 256.3)
XYZxyz(8.7002, 8.5302, 25.9938)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28538C #8C6128
analogous
#28858C #28538C #2F288C
triadic
#28538C #8C2853 #538C28
tetradic
#28538C #8C2885 #8C6128 #288C2F
square
#28538C #8C2885 #8C6128 #288C2F
split-complementary
#28538C #8C2F28 #858C28
monochromatic
#0D1B2D #1A375C #28538C #366FBC #5E8FD1

Accessibility & contrast

On white

7.76
#28538C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#28538C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28538C
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28538C#FFFFFF#000000##FFFFFF
##28538C1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39588E
Deuteranopia (green-blind)
#294E8B
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #28538c;
/* rgb */ color: rgb(40, 83, 140);
/* oklch */ color: oklch(44.1% 0.106 256.3);
Tailwind
colors: {
  custom: {
    50: '#6f82ae',
    500: '#28538c',
    950: '#000000',
  },
}
SCSS
$custom: #28538c;
$custom-light: #6f82ae;
$custom-dark: #000000;
JSON
{
  "hex": "#28538c",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 140
  },
  "hsl": {
    "h": 214.2,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44149,
    "c": 0.10569,
    "h": 256.3
  },
  "luminance": 0.08531
}

Semantic roles & 50–950 ramp

primary
#28538C
secondary
#B68E5A
accent
#9E49DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #28538C

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

Preview Lab → · Contrast checker → · Palette generator →

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