#28447F#28447F

#28447F is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.7% C 0.105 H 263.3°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#28447F
RGBrgb(40, 68, 127)
HSLhsl(221, 52%, 33%)
HSVhsv(221, 69%, 50%)
CMYKcmyk(68.5%, 46.5%, 0%, 50.2%)
CIE-LABlab(29.71, 10.27, -36.56)
CIE-LCHlch(29.71, 37.98, 285.69°)
OKLaboklab(39.75% -0.0123 -0.1045)
OKLCHoklch(39.75% 0.105 263.3)
XYZxyz(6.7716, 6.1170, 20.8984)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28447F #7F6328
analogous
#286F7F #28447F #38287F
triadic
#28447F #7F2844 #447F28
tetradic
#28447F #7F286F #7F6328 #287F38
square
#28447F #7F286F #7F6328 #287F38
split-complementary
#28447F #7F3828 #6F7F28
monochromatic
#0B1222 #192B50 #28447F #375DAE #577CCA

Accessibility & contrast

On white

9.44
#28447F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#28447F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28447F
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28447F#FFFFFF#000000##FFFFFF
##28447F1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274A81
Deuteranopia (green-blind)
#18427E
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #28447f;
/* rgb */ color: rgb(40, 68, 127);
/* oklch */ color: oklch(39.7% 0.105 263.3);
Tailwind
colors: {
  custom: {
    50: '#6c77a4',
    500: '#28447f',
    950: '#000000',
  },
}
SCSS
$custom: #28447f;
$custom-light: #6c77a4;
$custom-dark: #000000;
JSON
{
  "hex": "#28447f",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 127
  },
  "hsl": {
    "h": 220.69,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39745,
    "c": 0.10522,
    "h": 263.3
  },
  "luminance": 0.06118
}

Semantic roles & 50–950 ramp

primary
#28447F
secondary
#AF9254
accent
#AD4CDC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #28447F

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

Preview Lab → · Contrast checker → · Palette generator →

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