#28389D#28389D

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

Color values

HEX#28389D
RGBrgb(40, 56, 157)
HSLhsl(232, 59%, 39%)
HSVhsv(232, 75%, 62%)
CMYKcmyk(74.5%, 64.3%, 0%, 38.4%)
CIE-LABlab(28.68, 29.91, -56.71)
CIE-LCHlch(28.68, 64.11, 297.81°)
OKLaboklab(39.7% 0.0001 -0.1639)
OKLCHoklch(39.7% 0.164 270)
XYZxyz(8.3730, 5.7129, 32.5532)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28389D #9D8D28
analogous
#28729D #28389D #52289D
triadic
#28389D #9D2838 #389D28
tetradic
#28389D #9D2872 #9D8D28 #289D52
square
#28389D #9D2872 #9D8D28 #289D52
split-complementary
#28389D #9D5228 #729D28
monochromatic
#0F153B #1C276C #28389D #364BCC #6777D8

Accessibility & contrast

On white

9.80
#28389D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#28389D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28389D
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28389D#FFFFFF#000000##FFFFFF
##28389D1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #28389d;
/* rgb */ color: rgb(40, 56, 157);
/* oklch */ color: oklch(39.7% 0.164 270.0);
Tailwind
colors: {
  custom: {
    50: '#746ebb',
    500: '#28389d',
    950: '#000000',
  },
}
SCSS
$custom: #28389d;
$custom-light: #746ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#28389d",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 157
  },
  "hsl": {
    "h": 231.795,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39697,
    "c": 0.16388,
    "h": 270
  },
  "luminance": 0.05714
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28389D

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

Preview Lab → · Contrast checker → · Palette generator →

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