#28477E#28477E

#28477E is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.4% C 0.100 H 261.0°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#28477E
RGBrgb(40, 71, 126)
HSLhsl(218, 52%, 33%)
HSVhsv(218, 68%, 49%)
CMYKcmyk(68.3%, 43.7%, 0%, 50.6%)
CIE-LABlab(30.55, 7.85, -34.59)
CIE-LCHlch(30.55, 35.47, 282.79°)
OKLaboklab(40.38% -0.0157 -0.0986)
OKLCHoklch(40.38% 0.1 261)
XYZxyz(6.8929, 6.4633, 20.6189)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28477E #7E5F28
analogous
#28727E #28477E #34287E
triadic
#28477E #7E2847 #477E28
tetradic
#28477E #7E2872 #7E5F28 #287E34
square
#28477E #7E2872 #7E5F28 #287E34
split-complementary
#28477E #7E3428 #727E28
monochromatic
#0B1321 #192D50 #28477E #3761AC #5780CA

Accessibility & contrast

On white

9.16
#28477E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28477E
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28477E#FFFFFF#000000##FFFFFF
##28477E1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C80
Deuteranopia (green-blind)
#20447D
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #28477e;
/* rgb */ color: rgb(40, 71, 126);
/* oklch */ color: oklch(40.4% 0.100 261.0);
Tailwind
colors: {
  custom: {
    50: '#6c79a4',
    500: '#28477e',
    950: '#000000',
  },
}
SCSS
$custom: #28477e;
$custom-light: #6c79a4;
$custom-dark: #000000;
JSON
{
  "hex": "#28477e",
  "rgb": {
    "r": 40,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 218.372,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40377,
    "c": 0.09989,
    "h": 261
  },
  "luminance": 0.06464
}

Semantic roles & 50–950 ramp

primary
#28477E
secondary
#AF8E53
accent
#A84DDB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #28477E

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

Preview Lab → · Contrast checker → · Palette generator →

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