#28538F#28538F

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

Color values

HEX#28538F
RGBrgb(40, 83, 143)
HSLhsl(215, 56%, 36%)
HSVhsv(215, 72%, 56%)
CMYKcmyk(72%, 42%, 0%, 43.9%)
CIE-LABlab(35.24, 6.39, -37.57)
CIE-LCHlch(35.24, 38.11, 279.65°)
OKLaboklab(44.35% -0.0243 -0.1072)
OKLCHoklch(44.35% 0.11 257.2)
XYZxyz(8.9245, 8.6199, 27.1747)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28538F #8F6428
analogous
#28868F #28538F #30288F
triadic
#28538F #8F2853 #538F28
tetradic
#28538F #8F2886 #8F6428 #288F30
square
#28538F #8F2886 #8F6428 #288F30
split-complementary
#28538F #8F3028 #868F28
monochromatic
#0D1B2F #1B375F #28538F #356FBF #5F8FD2

Accessibility & contrast

On white

7.71
#28538F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28538F
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28538F#FFFFFF#000000##FFFFFF
##28538F1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375891
Deuteranopia (green-blind)
#264E8E
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #28538f;
/* rgb */ color: rgb(40, 83, 143);
/* oklch */ color: oklch(44.3% 0.110 257.2);
Tailwind
colors: {
  custom: {
    50: '#6f82b0',
    500: '#28538f',
    950: '#000000',
  },
}
SCSS
$custom: #28538f;
$custom-light: #6f82b0;
$custom-dark: #000000;
JSON
{
  "hex": "#28538f",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 143
  },
  "hsl": {
    "h": 214.951,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44346,
    "c": 0.10993,
    "h": 257.2
  },
  "luminance": 0.08621
}

Semantic roles & 50–950 ramp

primary
#28538F
secondary
#B8915B
accent
#A048E0
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #28538F

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

Preview Lab → · Contrast checker → · Palette generator →

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