#28389A#28389A

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

Color values

HEX#28389A
RGBrgb(40, 56, 154)
HSLhsl(232, 59%, 38%)
HSVhsv(232, 74%, 60%)
CMYKcmyk(74%, 63.6%, 0%, 39.6%)
CIE-LABlab(28.41, 28.79, -55.31)
CIE-LCHlch(28.41, 62.36, 297.49°)
OKLaboklab(39.42% 0.0003 -0.1598)
OKLCHoklch(39.42% 0.16 270.1)
XYZxyz(8.1200, 5.6117, 31.2208)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28389A #9A8A28
analogous
#28719A #28389A #51289A
triadic
#28389A #9A2838 #389A28
tetradic
#28389A #9A2871 #9A8A28 #289A51
square
#28389A #9A2871 #9A8A28 #289A51
split-complementary
#28389A #9A5128 #719A28
monochromatic
#0F1539 #1B2669 #28389A #354ACA #6575D7

Accessibility & contrast

On white

9.89
#28389A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#28389A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28389A
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28389A#FFFFFF#000000##FFFFFF
##28389A1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #28389a;
/* rgb */ color: rgb(40, 56, 154);
/* oklch */ color: oklch(39.4% 0.160 270.1);
Tailwind
colors: {
  custom: {
    50: '#736eb9',
    500: '#28389a',
    950: '#000000',
  },
}
SCSS
$custom: #28389a;
$custom-light: #736eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#28389a",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 154
  },
  "hsl": {
    "h": 231.579,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39419,
    "c": 0.1598,
    "h": 270.1
  },
  "luminance": 0.05613
}

Semantic roles & 50–950 ramp

primary
#28389A
secondary
#BDB061
accent
#CC46E2
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #28389A

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

Preview Lab → · Contrast checker → · Palette generator →

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