#28349C#28349C

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

Color values

HEX#28349C
RGBrgb(40, 52, 156)
HSLhsl(234, 59%, 38%)
HSVhsv(234, 74%, 61%)
CMYKcmyk(74.4%, 66.7%, 0%, 38.8%)
CIE-LABlab(27.59, 32.16, -57.88)
CIE-LCHlch(27.59, 66.21, 299.06°)
OKLaboklab(38.87% 0.0029 -0.1673)
OKLCHoklch(38.87% 0.167 271)
XYZxyz(8.1018, 5.3066, 32.0433)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28349C #9C9028
analogous
#286E9C #28349C #56289C
triadic
#28349C #9C2834 #349C28
tetradic
#28349C #9C286E #9C9028 #289C56
square
#28349C #9C286E #9C9028 #289C56
split-complementary
#28349C #9C5628 #6E9C28
monochromatic
#0F143B #1C246B #28349C #3645CB #6772D8

Accessibility & contrast

On white

10.19
#28349C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#28349C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28349C
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28349C#FFFFFF#000000##FFFFFF
##28349C1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #28349c;
/* rgb */ color: rgb(40, 52, 156);
/* oklch */ color: oklch(38.9% 0.167 271.0);
Tailwind
colors: {
  custom: {
    50: '#746bba',
    500: '#28349c',
    950: '#000000',
  },
}
SCSS
$custom: #28349c;
$custom-light: #746bba;
$custom-dark: #000000;
JSON
{
  "hex": "#28349c",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 156
  },
  "hsl": {
    "h": 233.793,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38873,
    "c": 0.16735,
    "h": 271
  },
  "luminance": 0.05307
}

Semantic roles & 50–950 ramp

primary
#28349C
secondary
#BEB462
accent
#D245E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #28349C

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

Preview Lab → · Contrast checker → · Palette generator →

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