#3032A4#3032A4

#3032A4 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.8% C 0.178 H 274.0°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#3032A4
RGBrgb(48, 50, 164)
HSLhsl(239, 55%, 42%)
HSVhsv(239, 71%, 64%)
CMYKcmyk(70.7%, 69.5%, 0%, 35.7%)
CIE-LABlab(28.35, 37.22, -61.46)
CIE-LCHlch(28.35, 71.85, 301.20°)
OKLaboklab(39.78% 0.0124 -0.1776)
OKLCHoklch(39.78% 0.178 274)
XYZxyz(9.0581, 5.5891, 35.7162)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3032A4 #A4A230
analogous
#306CA4 #3032A4 #6830A4
triadic
#3032A4 #A43032 #32A430
tetradic
#3032A4 #A4306C #A4A230 #30A468
square
#3032A4 #A4306C #A4A230 #30A468
split-complementary
#3032A4 #A46830 #6CA430
monochromatic
#141545 #222475 #3032A4 #484AC9 #7779D7

Accessibility & contrast

On white

9.92
#3032A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3032A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3032A4
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3032A4#FFFFFF#000000##FFFFFF
##3032A41.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A7
Deuteranopia (green-blind)
#003DA2
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3032a4;
/* rgb */ color: rgb(48, 50, 164);
/* oklch */ color: oklch(39.8% 0.178 274.0);
Tailwind
colors: {
  custom: {
    50: '#796ac0',
    500: '#3032a4',
    950: '#000000',
  },
}
SCSS
$custom: #3032a4;
$custom-light: #796ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#3032a4",
  "rgb": {
    "r": 48,
    "g": 50,
    "b": 164
  },
  "hsl": {
    "h": 238.966,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39782,
    "c": 0.17807,
    "h": 274
  },
  "luminance": 0.0559
}

Semantic roles & 50–950 ramp

primary
#3032A4
secondary
#BFBE70
accent
#DC4ADE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #3032A4

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

Preview Lab → · Contrast checker → · Palette generator →

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