#3032A5#3032A5

#3032A5 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.179 H 273.9°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#3032A5
RGBrgb(48, 50, 165)
HSLhsl(239, 55%, 42%)
HSVhsv(239, 71%, 65%)
CMYKcmyk(70.9%, 69.7%, 0%, 35.3%)
CIE-LABlab(28.45, 37.56, -61.91)
CIE-LCHlch(28.45, 72.42, 301.25°)
OKLaboklab(39.88% 0.0123 -0.1789)
OKLCHoklch(39.88% 0.179 273.9)
XYZxyz(9.1488, 5.6253, 36.1937)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3032A5 #A5A330
analogous
#306DA5 #3032A5 #6930A5
triadic
#3032A5 #A53032 #32A530
tetradic
#3032A5 #A5306D #A5A330 #30A569
square
#3032A5 #A5306D #A5A330 #30A569
split-complementary
#3032A5 #A56930 #6DA530
monochromatic
#141546 #222476 #3032A5 #484BCA #7879D8

Accessibility & contrast

On white

9.88
#3032A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3032A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3032A5
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3032A5#FFFFFF#000000##FFFFFF
##3032A51.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A9
Deuteranopia (green-blind)
#003EA3
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3032a5;
/* rgb */ color: rgb(48, 50, 165);
/* oklch */ color: oklch(39.9% 0.179 273.9);
Tailwind
colors: {
  custom: {
    50: '#796bc1',
    500: '#3032a5',
    950: '#000000',
  },
}
SCSS
$custom: #3032a5;
$custom-light: #796bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3032a5",
  "rgb": {
    "r": 48,
    "g": 50,
    "b": 165
  },
  "hsl": {
    "h": 238.974,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.3988,
    "c": 0.17937,
    "h": 273.9
  },
  "luminance": 0.05626
}

Semantic roles & 50–950 ramp

primary
#3032A5
secondary
#C0BF71
accent
#DC4ADE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #3032A5

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

Preview Lab → · Contrast checker → · Palette generator →

#3032A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva