#28399B#28399B

#28399B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.160 H 269.8°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#28399B
RGBrgb(40, 57, 155)
HSLhsl(231, 59%, 38%)
HSVhsv(231, 74%, 61%)
CMYKcmyk(74.2%, 63.2%, 0%, 39.2%)
CIE-LABlab(28.75, 28.50, -55.36)
CIE-LCHlch(28.75, 62.26, 297.24°)
OKLaboklab(39.7% -0.0005 -0.1599)
OKLCHoklch(39.7% 0.16 269.8)
XYZxyz(8.2526, 5.7431, 31.6776)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28399B #9B8A28
analogous
#28729B #28399B #50289B
triadic
#28399B #9B2839 #399B28
tetradic
#28399B #9B2872 #9B8A28 #289B50
square
#28399B #9B2872 #9B8A28 #289B50
split-complementary
#28399B #9B5028 #729B28
monochromatic
#0F153A #1B276A #28399B #354BCB #6677D7

Accessibility & contrast

On white

9.77
#28399B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#28399B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28399B
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28399B#FFFFFF#000000##FFFFFF
##28399B1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28399b;
/* rgb */ color: rgb(40, 57, 155);
/* oklch */ color: oklch(39.7% 0.160 269.8);
Tailwind
colors: {
  custom: {
    50: '#736fb9',
    500: '#28399b',
    950: '#000000',
  },
}
SCSS
$custom: #28399b;
$custom-light: #736fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#28399b",
  "rgb": {
    "r": 40,
    "g": 57,
    "b": 155
  },
  "hsl": {
    "h": 231.13,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.397,
    "c": 0.15992,
    "h": 269.8
  },
  "luminance": 0.05744
}

Semantic roles & 50–950 ramp

primary
#28399B
secondary
#BDB061
accent
#CB46E2
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #28399B

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

Preview Lab → · Contrast checker → · Palette generator →

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