#28389B#28389B

#28389B is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.161 H 270.1°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#28389B
RGBrgb(40, 56, 155)
HSLhsl(232, 59%, 38%)
HSVhsv(232, 74%, 61%)
CMYKcmyk(74.2%, 63.9%, 0%, 39.2%)
CIE-LABlab(28.50, 29.16, -55.78)
CIE-LCHlch(28.50, 62.94, 297.60°)
OKLaboklab(39.51% 0.0002 -0.1612)
OKLCHoklch(39.51% 0.161 270.1)
XYZxyz(8.2036, 5.6452, 31.6613)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28389B #9B8B28
analogous
#28719B #28389B #51289B
triadic
#28389B #9B2838 #389B28
tetradic
#28389B #9B2871 #9B8B28 #289B51
square
#28389B #9B2871 #9B8B28 #289B51
split-complementary
#28389B #9B5128 #719B28
monochromatic
#0F153A #1B266A #28389B #354ACB #6676D7

Accessibility & contrast

On white

9.86
#28389B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#28389B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28389B
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28389B#FFFFFF#000000##FFFFFF
##28389B1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #28389b;
/* rgb */ color: rgb(40, 56, 155);
/* oklch */ color: oklch(39.5% 0.161 270.1);
Tailwind
colors: {
  custom: {
    50: '#736eb9',
    500: '#28389b',
    950: '#000000',
  },
}
SCSS
$custom: #28389b;
$custom-light: #736eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#28389b",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 155
  },
  "hsl": {
    "h": 231.652,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39511,
    "c": 0.16116,
    "h": 270.1
  },
  "luminance": 0.05646
}

Semantic roles & 50–950 ramp

primary
#28389B
secondary
#BDB161
accent
#CC46E2
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #28389B

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

Preview Lab → · Contrast checker → · Palette generator →

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