#28389E#28389E

#28389E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.8% C 0.165 H 270.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#28389E
RGBrgb(40, 56, 158)
HSLhsl(232, 60%, 39%)
HSVhsv(232, 75%, 62%)
CMYKcmyk(74.7%, 64.6%, 0%, 38%)
CIE-LABlab(28.77, 30.28, -57.17)
CIE-LCHlch(28.77, 64.69, 297.91°)
OKLaboklab(39.79% 0.0001 -0.1652)
OKLCHoklch(39.79% 0.165 270)
XYZxyz(8.4587, 5.7472, 33.0047)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28389E #9E8E28
analogous
#28739E #28389E #53289E
triadic
#28389E #9E2838 #389E28
tetradic
#28389E #9E2873 #9E8E28 #289E53
square
#28389E #9E2873 #9E8E28 #289E53
split-complementary
#28389E #9E5328 #739E28
monochromatic
#0F153C #1C276D #28389E #374BCC #6877D9

Accessibility & contrast

On white

9.77
#28389E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#28389E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28389E
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28389E#FFFFFF#000000##FFFFFF
##28389E1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #28389e;
/* rgb */ color: rgb(40, 56, 158);
/* oklch */ color: oklch(39.8% 0.165 270.0);
Tailwind
colors: {
  custom: {
    50: '#746ebc',
    500: '#28389e',
    950: '#000000',
  },
}
SCSS
$custom: #28389e;
$custom-light: #746ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#28389e",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 158
  },
  "hsl": {
    "h": 231.864,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.3979,
    "c": 0.16523,
    "h": 270
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#28389E
secondary
#BFB263
accent
#CD45E3
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #28389E

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

Preview Lab → · Contrast checker → · Palette generator →

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