#28458A#28458A

#28458A is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.120 H 264.5°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#28458A
RGBrgb(40, 69, 138)
HSLhsl(222, 55%, 35%)
HSVhsv(222, 71%, 54%)
CMYKcmyk(71%, 50%, 0%, 45.9%)
CIE-LABlab(30.74, 13.84, -41.72)
CIE-LCHlch(30.74, 43.96, 288.35°)
OKLaboklab(40.77% -0.0115 -0.1197)
OKLCHoklch(40.77% 0.12 264.5)
XYZxyz(7.5890, 6.5416, 24.9025)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28458A #8A6D28
analogous
#28768A #28458A #3C288A
triadic
#28458A #8A2845 #458A28
tetradic
#28458A #8A2876 #8A6D28 #288A3C
square
#28458A #8A2876 #8A6D28 #288A3C
split-complementary
#28458A #8A3C28 #768A28
monochromatic
#0C162B #1A2D5B #28458A #365DB9 #5D7FD0

Accessibility & contrast

On white

9.10
#28458A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#28458A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28458A
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28458A#FFFFFF#000000##FFFFFF
##28458A1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4D8D
Deuteranopia (green-blind)
#044489
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #28458a;
/* rgb */ color: rgb(40, 69, 138);
/* oklch */ color: oklch(40.8% 0.120 264.5);
Tailwind
colors: {
  custom: {
    50: '#6e78ad',
    500: '#28458a',
    950: '#000000',
  },
}
SCSS
$custom: #28458a;
$custom-light: #6e78ad;
$custom-dark: #000000;
JSON
{
  "hex": "#28458a",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 138
  },
  "hsl": {
    "h": 222.245,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40774,
    "c": 0.12021,
    "h": 264.5
  },
  "luminance": 0.06542
}

Semantic roles & 50–950 ramp

primary
#28458A
secondary
#B59A59
accent
#B249DE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #28458A

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

Preview Lab → · Contrast checker → · Palette generator →

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