#28588F#28588F

#28588F is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.5% C 0.104 H 253.7°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#28588F
RGBrgb(40, 88, 143)
HSLhsl(212, 56%, 36%)
HSVhsv(212, 72%, 56%)
CMYKcmyk(72%, 38.5%, 0%, 43.9%)
CIE-LABlab(36.77, 3.13, -35.15)
CIE-LCHlch(36.77, 35.29, 275.09°)
OKLaboklab(45.53% -0.0293 -0.1)
OKLCHoklch(45.53% 0.104 253.7)
XYZxyz(9.3209, 9.4127, 27.3069)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28588F #8F5F28
analogous
#288B8F #28588F #2B288F
triadic
#28588F #8F2858 #588F28
tetradic
#28588F #8F288B #8F5F28 #288F2B
square
#28588F #8F288B #8F5F28 #288F2B
split-complementary
#28588F #8F2B28 #8B8F28
monochromatic
#0D1D2F #1B3B5F #28588F #3575BF #5F95D2

Accessibility & contrast

On white

7.28
#28588F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#28588F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28588F
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28588F#FFFFFF#000000##FFFFFF
##28588F1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5C91
Deuteranopia (green-blind)
#30528E
Tritanopia (blue-blind)
#00656C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #28588f;
/* rgb */ color: rgb(40, 88, 143);
/* oklch */ color: oklch(45.5% 0.104 253.7);
Tailwind
colors: {
  custom: {
    50: '#6f86b0',
    500: '#28588f',
    950: '#000000',
  },
}
SCSS
$custom: #28588f;
$custom-light: #6f86b0;
$custom-dark: #000000;
JSON
{
  "hex": "#28588f",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 143
  },
  "hsl": {
    "h": 212.039,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45533,
    "c": 0.10424,
    "h": 253.7
  },
  "luminance": 0.09414
}

Semantic roles & 50–950 ramp

primary
#28588F
secondary
#B88D5B
accent
#9948E0
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #28588F

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

Preview Lab → · Contrast checker → · Palette generator →

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