#28457A#28457A

#28457A is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.6% C 0.096 H 261.4°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#28457A
RGBrgb(40, 69, 122)
HSLhsl(219, 51%, 32%)
HSVhsv(219, 67%, 48%)
CMYKcmyk(67.2%, 43.4%, 0%, 52.2%)
CIE-LABlab(29.69, 7.67, -33.46)
CIE-LCHlch(29.69, 34.33, 282.91°)
OKLaboklab(39.63% -0.0143 -0.0954)
OKLCHoklch(39.63% 0.096 261.4)
XYZxyz(6.5148, 6.1119, 19.2450)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28457A #7A5D28
analogous
#286E7A #28457A #34287A
triadic
#28457A #7A2845 #457A28
tetradic
#28457A #7A286E #7A5D28 #287A34
square
#28457A #7A286E #7A5D28 #287A34
split-complementary
#28457A #7A3428 #6E7A28
monochromatic
#0A111E #192B4C #28457A #375FA8 #557DC7

Accessibility & contrast

On white

9.45
#28457A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#28457A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28457A
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28457A#FFFFFF#000000##FFFFFF
##28457A1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4A7C
Deuteranopia (green-blind)
#204279
Tritanopia (blue-blind)
#005159
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #28457a;
/* rgb */ color: rgb(40, 69, 122);
/* oklch */ color: oklch(39.6% 0.096 261.4);
Tailwind
colors: {
  custom: {
    50: '#6b78a1',
    500: '#28457a',
    950: '#000000',
  },
}
SCSS
$custom: #28457a;
$custom-light: #6b78a1;
$custom-dark: #000000;
JSON
{
  "hex": "#28457a",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 122
  },
  "hsl": {
    "h": 218.78,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39633,
    "c": 0.09644,
    "h": 261.4
  },
  "luminance": 0.06113
}

Semantic roles & 50–950 ramp

primary
#28457A
secondary
#AC8C52
accent
#A84EDA
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #28457A

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

Preview Lab → · Contrast checker → · Palette generator →

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