#28507E#28507E

#28507E is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.5% C 0.089 H 253.4°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#28507E
RGBrgb(40, 80, 126)
HSLhsl(212, 52%, 33%)
HSVhsv(212, 68%, 49%)
CMYKcmyk(68.3%, 36.5%, 0%, 50.6%)
CIE-LABlab(33.34, 1.88, -30.17)
CIE-LCHlch(33.34, 30.22, 273.56°)
OKLaboklab(42.54% -0.0255 -0.0856)
OKLCHoklch(42.54% 0.089 253.4)
XYZxyz(7.5083, 7.6940, 20.8240)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28507E #7E5628
analogous
#287B7E #28507E #2B287E
triadic
#28507E #7E2850 #507E28
tetradic
#28507E #7E287B #7E5628 #287E2B
square
#28507E #7E287B #7E5628 #287E2B
split-complementary
#28507E #7E2B28 #7B7E28
monochromatic
#0B1521 #193350 #28507E #376DAC #578CCA

Accessibility & contrast

On white

8.27
#28507E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#28507E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28507E
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28507E#FFFFFF#000000##FFFFFF
##28507E1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5380
Deuteranopia (green-blind)
#304B7D
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #28507e;
/* rgb */ color: rgb(40, 80, 126);
/* oklch */ color: oklch(42.5% 0.089 253.4);
Tailwind
colors: {
  custom: {
    50: '#6c80a3',
    500: '#28507e',
    950: '#000000',
  },
}
SCSS
$custom: #28507e;
$custom-light: #6c80a3;
$custom-dark: #000000;
JSON
{
  "hex": "#28507e",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 126
  },
  "hsl": {
    "h": 212.093,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42543,
    "c": 0.08928,
    "h": 253.4
  },
  "luminance": 0.07695
}

Semantic roles & 50–950 ramp

primary
#28507E
secondary
#AF8453
accent
#994DDB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #28507E

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

Preview Lab → · Contrast checker → · Palette generator →

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