#28548E#28548E

#28548E is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.5% C 0.107 H 256.2°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#28548E
RGBrgb(40, 84, 142)
HSLhsl(214, 56%, 36%)
HSVhsv(214, 72%, 56%)
CMYKcmyk(71.8%, 40.8%, 0%, 44.3%)
CIE-LABlab(35.49, 5.35, -36.58)
CIE-LCHlch(35.49, 36.96, 278.32°)
OKLaboklab(44.52% -0.0255 -0.1043)
OKLCHoklch(44.52% 0.107 256.2)
XYZxyz(8.9261, 8.7438, 26.8032)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28548E #8E6228
analogous
#28878E #28548E #2F288E
triadic
#28548E #8E2854 #548E28
tetradic
#28548E #8E2887 #8E6228 #288E2F
square
#28548E #8E2887 #8E6228 #288E2F
split-complementary
#28548E #8E2F28 #878E28
monochromatic
#0D1C2F #1B385E #28548E #3570BE #5F90D2

Accessibility & contrast

On white

7.64
#28548E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#28548E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28548E
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28548E#FFFFFF#000000##FFFFFF
##28548E1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395990
Deuteranopia (green-blind)
#294F8D
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #28548e;
/* rgb */ color: rgb(40, 84, 142);
/* oklch */ color: oklch(44.5% 0.107 256.2);
Tailwind
colors: {
  custom: {
    50: '#6f83af',
    500: '#28548e',
    950: '#000000',
  },
}
SCSS
$custom: #28548e;
$custom-light: #6f83af;
$custom-dark: #000000;
JSON
{
  "hex": "#28548e",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 214.118,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44516,
    "c": 0.10736,
    "h": 256.2
  },
  "luminance": 0.08745
}

Semantic roles & 50–950 ramp

primary
#28548E
secondary
#B78F5B
accent
#9E48DF
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #28548E

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

Preview Lab → · Contrast checker → · Palette generator →

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