#28458B#28458B

#28458B is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.8% C 0.122 H 264.7°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#28458B
RGBrgb(40, 69, 139)
HSLhsl(222, 55%, 35%)
HSVhsv(222, 71%, 55%)
CMYKcmyk(71.2%, 50.4%, 0%, 45.5%)
CIE-LABlab(30.81, 14.23, -42.23)
CIE-LCHlch(30.81, 44.56, 288.62°)
OKLaboklab(40.85% -0.0113 -0.1211)
OKLCHoklch(40.85% 0.122 264.7)
XYZxyz(7.6618, 6.5707, 25.2856)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28458B #8B6E28
analogous
#28778B #28458B #3C288B
triadic
#28458B #8B2845 #458B28
tetradic
#28458B #8B2877 #8B6E28 #288B3C
square
#28458B #8B2877 #8B6E28 #288B3C
split-complementary
#28458B #8B3C28 #778B28
monochromatic
#0D162C #1A2D5B #28458B #365DBB #5D7FD0

Accessibility & contrast

On white

9.07
#28458B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28458B
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28458B#FFFFFF#000000##FFFFFF
##28458B1.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4D8E
Deuteranopia (green-blind)
#01448A
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #28458b;
/* rgb */ color: rgb(40, 69, 139);
/* oklch */ color: oklch(40.8% 0.122 264.7);
Tailwind
colors: {
  custom: {
    50: '#6f78ad',
    500: '#28458b',
    950: '#000000',
  },
}
SCSS
$custom: #28458b;
$custom-light: #6f78ad;
$custom-dark: #000000;
JSON
{
  "hex": "#28458b",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 139
  },
  "hsl": {
    "h": 222.424,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40849,
    "c": 0.12168,
    "h": 264.7
  },
  "luminance": 0.06571
}

Semantic roles & 50–950 ramp

primary
#28458B
secondary
#B69B59
accent
#B349DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #28458B

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

Preview Lab → · Contrast checker → · Palette generator →

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