#28457F#28457F

#28457F is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.0% C 0.104 H 262.6°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#28457F
RGBrgb(40, 69, 127)
HSLhsl(220, 52%, 33%)
HSVhsv(220, 69%, 50%)
CMYKcmyk(68.5%, 45.7%, 0%, 50.2%)
CIE-LABlab(30.01, 9.59, -36.08)
CIE-LCHlch(30.01, 37.33, 284.89°)
OKLaboklab(39.98% -0.0133 -0.1031)
OKLCHoklch(39.98% 0.104 262.6)
XYZxyz(6.8326, 6.2390, 20.9187)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28457F #7F6228
analogous
#28707F #28457F #36287F
triadic
#28457F #7F2845 #457F28
tetradic
#28457F #7F2870 #7F6228 #287F36
square
#28457F #7F2870 #7F6228 #287F36
split-complementary
#28457F #7F3628 #707F28
monochromatic
#0B1222 #192C50 #28457F #375EAE #577ECA

Accessibility & contrast

On white

9.34
#28457F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#28457F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28457F
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28457F#FFFFFF#000000##FFFFFF
##28457F1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294B81
Deuteranopia (green-blind)
#1A437E
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #28457f;
/* rgb */ color: rgb(40, 69, 127);
/* oklch */ color: oklch(40.0% 0.104 262.6);
Tailwind
colors: {
  custom: {
    50: '#6c78a4',
    500: '#28457f',
    950: '#000000',
  },
}
SCSS
$custom: #28457f;
$custom-light: #6c78a4;
$custom-dark: #000000;
JSON
{
  "hex": "#28457f",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 127
  },
  "hsl": {
    "h": 220,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39977,
    "c": 0.10393,
    "h": 262.6
  },
  "luminance": 0.0624
}

Semantic roles & 50–950 ramp

primary
#28457F
secondary
#AF9154
accent
#AC4CDC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #28457F

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

Preview Lab → · Contrast checker → · Palette generator →

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