#28477D#28477D

#28477D is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.098 H 260.7°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#28477D
RGBrgb(40, 71, 125)
HSLhsl(218, 52%, 32%)
HSVhsv(218, 68%, 49%)
CMYKcmyk(68%, 43.2%, 0%, 51%)
CIE-LABlab(30.49, 7.47, -34.06)
CIE-LCHlch(30.49, 34.87, 282.37°)
OKLaboklab(40.31% -0.0159 -0.0971)
OKLCHoklch(40.31% 0.098 260.7)
XYZxyz(6.8287, 6.4376, 20.2808)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28477D #7D5E28
analogous
#28717D #28477D #34287D
triadic
#28477D #7D2847 #477D28
tetradic
#28477D #7D2871 #7D5E28 #287D34
square
#28477D #7D2871 #7D5E28 #287D34
split-complementary
#28477D #7D3428 #717D28
monochromatic
#0A1220 #192D4F #28477D #3761AB #5680C9

Accessibility & contrast

On white

9.18
#28477D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#28477D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28477D
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28477D#FFFFFF#000000##FFFFFF
##28477D1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C7F
Deuteranopia (green-blind)
#21447C
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #28477d;
/* rgb */ color: rgb(40, 71, 125);
/* oklch */ color: oklch(40.3% 0.098 260.7);
Tailwind
colors: {
  custom: {
    50: '#6c79a3',
    500: '#28477d',
    950: '#000000',
  },
}
SCSS
$custom: #28477d;
$custom-light: #6c79a3;
$custom-dark: #000000;
JSON
{
  "hex": "#28477d",
  "rgb": {
    "r": 40,
    "g": 71,
    "b": 125
  },
  "hsl": {
    "h": 218.118,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40309,
    "c": 0.0984,
    "h": 260.7
  },
  "luminance": 0.06438
}

Semantic roles & 50–950 ramp

primary
#28477D
secondary
#AE8D53
accent
#A74DDB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #28477D

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

Preview Lab → · Contrast checker → · Palette generator →

#28477D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva