#28458D#28458D

#28458D is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.0% C 0.125 H 264.9°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#28458D
RGBrgb(40, 69, 141)
HSLhsl(223, 56%, 35%)
HSVhsv(223, 72%, 55%)
CMYKcmyk(71.6%, 51.1%, 0%, 44.7%)
CIE-LABlab(30.95, 15.00, -43.23)
CIE-LCHlch(30.95, 45.76, 289.14°)
OKLaboklab(41% -0.0111 -0.1241)
OKLCHoklch(41% 0.125 264.9)
XYZxyz(7.8092, 6.6297, 26.0622)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28458D #8D7028
analogous
#28778D #28458D #3D288D
triadic
#28458D #8D2845 #458D28
tetradic
#28458D #8D2877 #8D7028 #288D3D
square
#28458D #8D2877 #8D7028 #288D3D
split-complementary
#28458D #8D3D28 #778D28
monochromatic
#0D162E #1A2E5D #28458D #365CBD #5E7FD1

Accessibility & contrast

On white

9.03
#28458D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28458D
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28458D#FFFFFF#000000##FFFFFF
##28458D1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4E90
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #28458d;
/* rgb */ color: rgb(40, 69, 141);
/* oklch */ color: oklch(41.0% 0.125 264.9);
Tailwind
colors: {
  custom: {
    50: '#6f78af',
    500: '#28458d',
    950: '#000000',
  },
}
SCSS
$custom: #28458d;
$custom-light: #6f78af;
$custom-dark: #000000;
JSON
{
  "hex": "#28458d",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 222.772,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41,
    "c": 0.12459,
    "h": 264.9
  },
  "luminance": 0.0663
}

Semantic roles & 50–950 ramp

primary
#28458D
secondary
#B79C5A
accent
#B449DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #28458D

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

Preview Lab → · Contrast checker → · Palette generator →

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