#28548B#28548B

#28548B is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.3% C 0.103 H 255.2°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#28548B
RGBrgb(40, 84, 139)
HSLhsl(213, 55%, 35%)
HSVhsv(213, 71%, 55%)
CMYKcmyk(71.2%, 39.6%, 0%, 45.5%)
CIE-LABlab(35.31, 4.20, -35.03)
CIE-LCHlch(35.31, 35.28, 276.84°)
OKLaboklab(44.32% -0.0263 -0.0997)
OKLCHoklch(44.32% 0.103 255.2)
XYZxyz(8.7039, 8.6549, 25.6330)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28548B #8B5F28
analogous
#28868B #28548B #2D288B
triadic
#28548B #8B2854 #548B28
tetradic
#28548B #8B2886 #8B5F28 #288B2D
square
#28548B #8B2886 #8B5F28 #288B2D
split-complementary
#28548B #8B2D28 #868B28
monochromatic
#0D1B2C #1A375B #28548B #3671BB #5D90D0

Accessibility & contrast

On white

7.69
#28548B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28548B
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28548B#FFFFFF#000000##FFFFFF
##28548B1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B588D
Deuteranopia (green-blind)
#2C4F8A
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #28548b;
/* rgb */ color: rgb(40, 84, 139);
/* oklch */ color: oklch(44.3% 0.103 255.2);
Tailwind
colors: {
  custom: {
    50: '#6e83ad',
    500: '#28548b',
    950: '#000000',
  },
}
SCSS
$custom: #28548b;
$custom-light: #6e83ad;
$custom-dark: #000000;
JSON
{
  "hex": "#28548b",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 139
  },
  "hsl": {
    "h": 213.333,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44323,
    "c": 0.10313,
    "h": 255.2
  },
  "luminance": 0.08656
}

Semantic roles & 50–950 ramp

primary
#28548B
secondary
#B68D59
accent
#9C49DF
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #28548B

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

Preview Lab → · Contrast checker → · Palette generator →

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