#28457D#28457D

#28457D is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.8% C 0.101 H 262.2°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#28457D
RGBrgb(40, 69, 125)
HSLhsl(220, 52%, 32%)
HSVhsv(220, 68%, 49%)
CMYKcmyk(68%, 44.8%, 0%, 51%)
CIE-LABlab(29.88, 8.82, -35.04)
CIE-LCHlch(29.88, 36.13, 284.13°)
OKLaboklab(39.84% -0.0137 -0.1)
OKLCHoklch(39.84% 0.101 262.2)
XYZxyz(6.7036, 6.1874, 20.2391)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28457D #7D6028
analogous
#28707D #28457D #35287D
triadic
#28457D #7D2845 #457D28
tetradic
#28457D #7D2870 #7D6028 #287D35
square
#28457D #7D2870 #7D6028 #287D35
split-complementary
#28457D #7D3528 #707D28
monochromatic
#0A1220 #192B4F #28457D #375FAB #567DC9

Accessibility & contrast

On white

9.39
#28457D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#28457D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28457D
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28457D#FFFFFF#000000##FFFFFF
##28457D1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4B7F
Deuteranopia (green-blind)
#1D437C
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #28457d;
/* rgb */ color: rgb(40, 69, 125);
/* oklch */ color: oklch(39.8% 0.101 262.2);
Tailwind
colors: {
  custom: {
    50: '#6c78a3',
    500: '#28457d',
    950: '#000000',
  },
}
SCSS
$custom: #28457d;
$custom-light: #6c78a3;
$custom-dark: #000000;
JSON
{
  "hex": "#28457d",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 125
  },
  "hsl": {
    "h": 219.529,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39838,
    "c": 0.10094,
    "h": 262.2
  },
  "luminance": 0.06188
}

Semantic roles & 50–950 ramp

primary
#28457D
secondary
#AE8F53
accent
#AA4DDB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #28457D

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

Preview Lab → · Contrast checker → · Palette generator →

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