#28458F#28458F

#28458F is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.2% C 0.128 H 265.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#28458F
RGBrgb(40, 69, 143)
HSLhsl(223, 56%, 36%)
HSVhsv(223, 72%, 56%)
CMYKcmyk(72%, 51.7%, 0%, 43.9%)
CIE-LABlab(31.09, 15.78, -44.23)
CIE-LCHlch(31.09, 46.96, 289.63°)
OKLaboklab(41.15% -0.0108 -0.127)
OKLCHoklch(41.15% 0.128 265.1)
XYZxyz(7.9594, 6.6897, 26.8530)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28458F #8F7228
analogous
#28788F #28458F #3E288F
triadic
#28458F #8F2845 #458F28
tetradic
#28458F #8F2878 #8F7228 #288F3E
square
#28458F #8F2878 #8F7228 #288F3E
split-complementary
#28458F #8F3E28 #788F28
monochromatic
#0D172F #1B2E5F #28458F #355CBF #5F80D2

Accessibility & contrast

On white

8.98
#28458F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#28458F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28458F
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28458F#FFFFFF#000000##FFFFFF
##28458F1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194E92
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #28458f;
/* rgb */ color: rgb(40, 69, 143);
/* oklch */ color: oklch(41.2% 0.128 265.1);
Tailwind
colors: {
  custom: {
    50: '#7078b0',
    500: '#28458f',
    950: '#000000',
  },
}
SCSS
$custom: #28458f;
$custom-light: #7078b0;
$custom-dark: #000000;
JSON
{
  "hex": "#28458f",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 143
  },
  "hsl": {
    "h": 223.107,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41153,
    "c": 0.12751,
    "h": 265.1
  },
  "luminance": 0.06691
}

Semantic roles & 50–950 ramp

primary
#28458F
secondary
#B89E5B
accent
#B548E0
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #28458F

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

Preview Lab → · Contrast checker → · Palette generator →

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