#28389F#28389F

#28389F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.167 H 270.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#28389F
RGBrgb(40, 56, 159)
HSLhsl(232, 60%, 39%)
HSVhsv(232, 75%, 62%)
CMYKcmyk(74.8%, 64.8%, 0%, 37.6%)
CIE-LABlab(28.86, 30.65, -57.63)
CIE-LCHlch(28.86, 65.27, 298.01°)
OKLaboklab(39.88% 0.0001 -0.1666)
OKLCHoklch(39.88% 0.167 270)
XYZxyz(8.5451, 5.7818, 33.4598)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28389F #9F8F28
analogous
#28749F #28389F #54289F
triadic
#28389F #9F2838 #389F28
tetradic
#28389F #9F2874 #9F8F28 #289F54
square
#28389F #9F2874 #9F8F28 #289F54
split-complementary
#28389F #9F5428 #749F28
monochromatic
#0F163D #1C276E #28389F #374BCD #6877D9

Accessibility & contrast

On white

9.74
#28389F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#28389F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28389F
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28389F#FFFFFF#000000##FFFFFF
##28389F1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #28389f;
/* rgb */ color: rgb(40, 56, 159);
/* oklch */ color: oklch(39.9% 0.167 270.0);
Tailwind
colors: {
  custom: {
    50: '#746ebc',
    500: '#28389f',
    950: '#000000',
  },
}
SCSS
$custom: #28389f;
$custom-light: #746ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#28389f",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 159
  },
  "hsl": {
    "h": 231.933,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39883,
    "c": 0.16658,
    "h": 270
  },
  "luminance": 0.05783
}

Semantic roles & 50–950 ramp

primary
#28389F
secondary
#BFB364
accent
#CE45E3
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #28389F

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

Preview Lab → · Contrast checker → · Palette generator →

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