#3032A6#3032A6

#3032A6 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.0% C 0.181 H 273.9°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#3032A6
RGBrgb(48, 50, 166)
HSLhsl(239, 55%, 42%)
HSVhsv(239, 71%, 65%)
CMYKcmyk(71.1%, 69.9%, 0%, 34.9%)
CIE-LABlab(28.54, 37.91, -62.36)
CIE-LCHlch(28.54, 72.98, 301.30°)
OKLaboklab(39.98% 0.0122 -0.1802)
OKLCHoklch(39.98% 0.181 273.9)
XYZxyz(9.2402, 5.6619, 36.6749)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3032A6 #A6A430
analogous
#306DA6 #3032A6 #6930A6
triadic
#3032A6 #A63032 #32A630
tetradic
#3032A6 #A6306D #A6A430 #30A669
square
#3032A6 #A6306D #A6A430 #30A669
split-complementary
#3032A6 #A66930 #6DA630
monochromatic
#151547 #222477 #3032A6 #494BCA #787AD8

Accessibility & contrast

On white

9.85
#3032A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3032A6
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3032A6#FFFFFF#000000##FFFFFF
##3032A61.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#003EA4
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3032a6;
/* rgb */ color: rgb(48, 50, 166);
/* oklch */ color: oklch(40.0% 0.181 273.9);
Tailwind
colors: {
  custom: {
    50: '#7a6bc2',
    500: '#3032a6',
    950: '#000000',
  },
}
SCSS
$custom: #3032a6;
$custom-light: #7a6bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#3032a6",
  "rgb": {
    "r": 48,
    "g": 50,
    "b": 166
  },
  "hsl": {
    "h": 238.983,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39979,
    "c": 0.18066,
    "h": 273.9
  },
  "luminance": 0.05663
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3032A6

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

Preview Lab → · Contrast checker → · Palette generator →

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