#28349B#28349B

#28349B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.166 H 271.0°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#28349B
RGBrgb(40, 52, 155)
HSLhsl(234, 59%, 38%)
HSVhsv(234, 74%, 61%)
CMYKcmyk(74.2%, 66.5%, 0%, 39.2%)
CIE-LABlab(27.50, 31.79, -57.42)
CIE-LCHlch(27.50, 65.63, 298.97°)
OKLaboklab(38.78% 0.0029 -0.166)
OKLCHoklch(38.78% 0.166 271)
XYZxyz(8.0174, 5.2728, 31.5992)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28349B #9B8F28
analogous
#286D9B #28349B #55289B
triadic
#28349B #9B2834 #349B28
tetradic
#28349B #9B286D #9B8F28 #289B55
square
#28349B #9B286D #9B8F28 #289B55
split-complementary
#28349B #9B5528 #6D9B28
monochromatic
#0F133A #1B246A #28349B #3545CB #6672D7

Accessibility & contrast

On white

10.22
#28349B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#28349B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28349B
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28349B#FFFFFF#000000##FFFFFF
##28349B1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#003C99
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #28349b;
/* rgb */ color: rgb(40, 52, 155);
/* oklch */ color: oklch(38.8% 0.166 271.0);
Tailwind
colors: {
  custom: {
    50: '#746bb9',
    500: '#28349b',
    950: '#000000',
  },
}
SCSS
$custom: #28349b;
$custom-light: #746bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#28349b",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 233.739,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38777,
    "c": 0.16602,
    "h": 271
  },
  "luminance": 0.05274
}

Semantic roles & 50–950 ramp

primary
#28349B
secondary
#BDB461
accent
#D246E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #28349B

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

Preview Lab → · Contrast checker → · Palette generator →

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