#28477F#28477F

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

Color values

HEX#28477F
RGBrgb(40, 71, 127)
HSLhsl(219, 52%, 33%)
HSVhsv(219, 69%, 50%)
CMYKcmyk(68.5%, 44.1%, 0%, 50.2%)
CIE-LABlab(30.61, 8.24, -35.11)
CIE-LCHlch(30.61, 36.06, 283.20°)
OKLaboklab(40.45% -0.0154 -0.1002)
OKLCHoklch(40.45% 0.101 261.2)
XYZxyz(6.9577, 6.4892, 20.9604)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28477F #7F6028
analogous
#28727F #28477F #35287F
triadic
#28477F #7F2847 #477F28
tetradic
#28477F #7F2872 #7F6028 #287F35
square
#28477F #7F2872 #7F6028 #287F35
split-complementary
#28477F #7F3528 #727F28
monochromatic
#0B1322 #192D50 #28477F #3761AE #5780CA

Accessibility & contrast

On white

9.14
#28477F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#28477F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28477F
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28477F#FFFFFF#000000##FFFFFF
##28477F1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C81
Deuteranopia (green-blind)
#1F447E
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #28477f;
/* rgb */ color: rgb(40, 71, 127);
/* oklch */ color: oklch(40.4% 0.101 261.2);
Tailwind
colors: {
  custom: {
    50: '#6c79a4',
    500: '#28477f',
    950: '#000000',
  },
}
SCSS
$custom: #28477f;
$custom-light: #6c79a4;
$custom-dark: #000000;
JSON
{
  "hex": "#28477f",
  "rgb": {
    "r": 40,
    "g": 71,
    "b": 127
  },
  "hsl": {
    "h": 218.621,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40445,
    "c": 0.10137,
    "h": 261.2
  },
  "luminance": 0.0649
}

Semantic roles & 50–950 ramp

primary
#28477F
secondary
#AF8F54
accent
#A84CDC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #28477F

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

Preview Lab → · Contrast checker → · Palette generator →

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