#28458E#28458E

#28458E is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.1% C 0.126 H 265.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#28458E
RGBrgb(40, 69, 142)
HSLhsl(223, 56%, 36%)
HSVhsv(223, 72%, 56%)
CMYKcmyk(71.8%, 51.4%, 0%, 44.3%)
CIE-LABlab(31.02, 15.39, -43.73)
CIE-LCHlch(31.02, 46.36, 289.39°)
OKLaboklab(41.08% -0.0109 -0.1256)
OKLCHoklch(41.08% 0.126 265)
XYZxyz(7.8840, 6.6595, 26.4559)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28458E #8E7128
analogous
#28788E #28458E #3E288E
triadic
#28458E #8E2845 #458E28
tetradic
#28458E #8E2878 #8E7128 #288E3E
square
#28458E #8E2878 #8E7128 #288E3E
split-complementary
#28458E #8E3E28 #788E28
monochromatic
#0D172F #1B2E5E #28458E #355CBE #5F7FD2

Accessibility & contrast

On white

9.01
#28458E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#28458E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28458E
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28458E#FFFFFF#000000##FFFFFF
##28458E1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4E91
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #28458e;
/* rgb */ color: rgb(40, 69, 142);
/* oklch */ color: oklch(41.1% 0.126 265.0);
Tailwind
colors: {
  custom: {
    50: '#6f78b0',
    500: '#28458e',
    950: '#000000',
  },
}
SCSS
$custom: #28458e;
$custom-light: #6f78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#28458e",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 142
  },
  "hsl": {
    "h": 222.941,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41077,
    "c": 0.12606,
    "h": 265
  },
  "luminance": 0.0666
}

Semantic roles & 50–950 ramp

primary
#28458E
secondary
#B79D5B
accent
#B448DF
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #28458E

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

Preview Lab → · Contrast checker → · Palette generator →

#28458E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva