#28538D#28538D

#28538D is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.2% C 0.107 H 256.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#28538D
RGBrgb(40, 83, 141)
HSLhsl(214, 56%, 35%)
HSVhsv(214, 72%, 55%)
CMYKcmyk(71.6%, 41.1%, 0%, 44.7%)
CIE-LABlab(35.12, 5.62, -36.55)
CIE-LCHlch(35.12, 36.97, 278.74°)
OKLaboklab(44.21% -0.0247 -0.1042)
OKLCHoklch(44.21% 0.107 256.6)
XYZxyz(8.7743, 8.5598, 26.3839)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28538D #8D6228
analogous
#28858D #28538D #2F288D
triadic
#28538D #8D2853 #538D28
tetradic
#28538D #8D2885 #8D6228 #288D2F
square
#28538D #8D2885 #8D6228 #288D2F
split-complementary
#28538D #8D2F28 #858D28
monochromatic
#0D1B2E #1A375D #28538D #366FBD #5E8FD1

Accessibility & contrast

On white

7.74
#28538D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28538D
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28538D#FFFFFF#000000##FFFFFF
##28538D1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38588F
Deuteranopia (green-blind)
#284E8C
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #28538d;
/* rgb */ color: rgb(40, 83, 141);
/* oklch */ color: oklch(44.2% 0.107 256.6);
Tailwind
colors: {
  custom: {
    50: '#6f82af',
    500: '#28538d',
    950: '#000000',
  },
}
SCSS
$custom: #28538d;
$custom-light: #6f82af;
$custom-dark: #000000;
JSON
{
  "hex": "#28538d",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 141
  },
  "hsl": {
    "h": 214.455,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44214,
    "c": 0.10711,
    "h": 256.6
  },
  "luminance": 0.08561
}

Semantic roles & 50–950 ramp

primary
#28538D
secondary
#B78F5A
accent
#9F49DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #28538D

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

Preview Lab → · Contrast checker → · Palette generator →

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