#28546F#28546F

#28546F is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.7% C 0.066 H 238.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#28546F
RGBrgb(40, 84, 111)
HSLhsl(203, 47%, 30%)
HSVhsv(203, 64%, 44%)
CMYKcmyk(64%, 24.3%, 0%, 56.5%)
CIE-LABlab(33.86, -6.18, -20.03)
CIE-LCHlch(33.86, 20.96, 252.86°)
OKLaboklab(42.7% -0.0351 -0.0561)
OKLCHoklch(42.7% 0.066 238)
XYZxyz(6.9136, 7.9388, 16.2038)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28546F #6F4328
analogous
#286F67 #28546F #28316F
triadic
#28546F #6F2854 #546F28
tetradic
#28546F #67286F #6F4328 #316F28
square
#28546F #67286F #6F4328 #316F28
split-complementary
#28546F #6F2831 #6F6728
monochromatic
#081116 #183242 #28546F #38769C #5196C0

Accessibility & contrast

On white

8.12
#28546F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#28546F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28546F
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28546F#FFFFFF#000000##FFFFFF
##28546F1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485470
Deuteranopia (green-blind)
#3E4C6F
Tritanopia (blue-blind)
#005B5D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #28546f;
/* rgb */ color: rgb(40, 84, 111);
/* oklch */ color: oklch(42.7% 0.066 238.0);
Tailwind
colors: {
  custom: {
    50: '#698498',
    500: '#28546f',
    950: '#000000',
  },
}
SCSS
$custom: #28546f;
$custom-light: #698498;
$custom-dark: #000000;
JSON
{
  "hex": "#28546f",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 111
  },
  "hsl": {
    "h": 202.817,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42701,
    "c": 0.0662,
    "h": 238
  },
  "luminance": 0.07939
}

Semantic roles & 50–950 ramp

primary
#28546F
secondary
#A17051
accent
#8451D7
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070A0D
muted
#7A7C7E

Preview Lab

Preview with #28546F

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

Preview Lab → · Contrast checker → · Palette generator →

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