#28507A#28507A

#28507A is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.3% C 0.084 H 251.4°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#28507A
RGBrgb(40, 80, 122)
HSLhsl(211, 51%, 32%)
HSVhsv(211, 67%, 48%)
CMYKcmyk(67.2%, 34.4%, 0%, 52.2%)
CIE-LABlab(33.12, 0.38, -28.03)
CIE-LCHlch(33.12, 28.03, 270.77°)
OKLaboklab(42.3% -0.0267 -0.0793)
OKLCHoklch(42.3% 0.084 251.4)
XYZxyz(7.2553, 7.5929, 19.4918)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28507A #7A5228
analogous
#28797A #28507A #29287A
triadic
#28507A #7A2850 #507A28
tetradic
#28507A #7A2879 #7A5228 #287A29
square
#28507A #7A2879 #7A5228 #287A29
split-complementary
#28507A #7A2928 #797A28
monochromatic
#0A141E #19324C #28507A #376EA8 #558DC7

Accessibility & contrast

On white

8.34
#28507A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#28507A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28507A
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28507A#FFFFFF#000000##FFFFFF
##28507A1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E527C
Deuteranopia (green-blind)
#324A79
Tritanopia (blue-blind)
#005A5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #28507a;
/* rgb */ color: rgb(40, 80, 122);
/* oklch */ color: oklch(42.3% 0.084 251.4);
Tailwind
colors: {
  custom: {
    50: '#6b80a0',
    500: '#28507a',
    950: '#000000',
  },
}
SCSS
$custom: #28507a;
$custom-light: #6b80a0;
$custom-dark: #000000;
JSON
{
  "hex": "#28507a",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 210.732,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42301,
    "c": 0.08369,
    "h": 251.4
  },
  "luminance": 0.07594
}

Semantic roles & 50–950 ramp

primary
#28507A
secondary
#AC8052
accent
#964EDA
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #28507A

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

Preview Lab → · Contrast checker → · Palette generator →

#28507A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva