#28389C#28389C

#28389C is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.163 H 270.1°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#28389C
RGBrgb(40, 56, 156)
HSLhsl(232, 59%, 38%)
HSVhsv(232, 74%, 61%)
CMYKcmyk(74.4%, 64.1%, 0%, 38.8%)
CIE-LABlab(28.59, 29.53, -56.24)
CIE-LCHlch(28.59, 63.53, 297.70°)
OKLaboklab(39.6% 0.0002 -0.1625)
OKLCHoklch(39.6% 0.163 270.1)
XYZxyz(8.2879, 5.6789, 32.1054)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28389C #9C8C28
analogous
#28729C #28389C #52289C
triadic
#28389C #9C2838 #389C28
tetradic
#28389C #9C2872 #9C8C28 #289C52
square
#28389C #9C2872 #9C8C28 #289C52
split-complementary
#28389C #9C5228 #729C28
monochromatic
#0F153B #1C276B #28389C #364ACB #6776D8

Accessibility & contrast

On white

9.83
#28389C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28389C
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28389C#FFFFFF#000000##FFFFFF
##28389C1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28389c;
/* rgb */ color: rgb(40, 56, 156);
/* oklch */ color: oklch(39.6% 0.163 270.1);
Tailwind
colors: {
  custom: {
    50: '#746eba',
    500: '#28389c',
    950: '#000000',
  },
}
SCSS
$custom: #28389c;
$custom-light: #746eba;
$custom-dark: #000000;
JSON
{
  "hex": "#28389c",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 156
  },
  "hsl": {
    "h": 231.724,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39604,
    "c": 0.16252,
    "h": 270.1
  },
  "luminance": 0.0568
}

Semantic roles & 50–950 ramp

primary
#28389C
secondary
#BEB162
accent
#CD45E2
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #28389C

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

Preview Lab → · Contrast checker → · Palette generator →

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