#28548A#28548A

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

Color values

HEX#28548A
RGBrgb(40, 84, 138)
HSLhsl(213, 55%, 35%)
HSVhsv(213, 71%, 54%)
CMYKcmyk(71%, 39.1%, 0%, 45.9%)
CIE-LABlab(35.25, 3.82, -34.51)
CIE-LCHlch(35.25, 34.72, 276.32°)
OKLaboklab(44.26% -0.0265 -0.0982)
OKLCHoklch(44.26% 0.102 254.9)
XYZxyz(8.6312, 8.6258, 25.2499)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28548A #8A5E28
analogous
#28858A #28548A #2D288A
triadic
#28548A #8A2854 #548A28
tetradic
#28548A #8A2885 #8A5E28 #288A2D
square
#28548A #8A2885 #8A5E28 #288A2D
split-complementary
#28548A #8A2D28 #858A28
monochromatic
#0C1A2B #1A375B #28548A #3671B9 #5D90D0

Accessibility & contrast

On white

7.71
#28548A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#28548A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28548A
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28548A#FFFFFF#000000##FFFFFF
##28548A1.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C588C
Deuteranopia (green-blind)
#2D4F89
Tritanopia (blue-blind)
#006168
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #28548a;
/* rgb */ color: rgb(40, 84, 138);
/* oklch */ color: oklch(44.3% 0.102 254.9);
Tailwind
colors: {
  custom: {
    50: '#6e83ac',
    500: '#28548a',
    950: '#000000',
  },
}
SCSS
$custom: #28548a;
$custom-light: #6e83ac;
$custom-dark: #000000;
JSON
{
  "hex": "#28548a",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 138
  },
  "hsl": {
    "h": 213.061,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44259,
    "c": 0.10173,
    "h": 254.9
  },
  "luminance": 0.08627
}

Semantic roles & 50–950 ramp

primary
#28548A
secondary
#B58C59
accent
#9C49DE
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #28548A

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

Preview Lab → · Contrast checker → · Palette generator →

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