#28349A#28349A

#28349A is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.165 H 271.0°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#28349A
RGBrgb(40, 52, 154)
HSLhsl(234, 59%, 38%)
HSVhsv(234, 74%, 60%)
CMYKcmyk(74%, 66.2%, 0%, 39.6%)
CIE-LABlab(27.41, 31.42, -56.96)
CIE-LCHlch(27.41, 65.05, 298.88°)
OKLaboklab(38.68% 0.003 -0.1646)
OKLCHoklch(38.68% 0.165 271)
XYZxyz(7.9338, 5.2394, 31.1588)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28349A #9A8E28
analogous
#286D9A #28349A #55289A
triadic
#28349A #9A2834 #349A28
tetradic
#28349A #9A286D #9A8E28 #289A55
square
#28349A #9A286D #9A8E28 #289A55
split-complementary
#28349A #9A5528 #6D9A28
monochromatic
#0F1339 #1B2469 #28349A #3544CA #6571D7

Accessibility & contrast

On white

10.25
#28349A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28349A
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28349A#FFFFFF#000000##FFFFFF
##28349A1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#003B98
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #28349a;
/* rgb */ color: rgb(40, 52, 154);
/* oklch */ color: oklch(38.7% 0.165 271.0);
Tailwind
colors: {
  custom: {
    50: '#736bb9',
    500: '#28349a',
    950: '#000000',
  },
}
SCSS
$custom: #28349a;
$custom-light: #736bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#28349a",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 154
  },
  "hsl": {
    "h": 233.684,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38681,
    "c": 0.16468,
    "h": 271
  },
  "luminance": 0.0524
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28349A

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

Preview Lab → · Contrast checker → · Palette generator →

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