#3032AA#3032AA

#3032AA is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.4% C 0.186 H 273.6°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#3032AA
RGBrgb(48, 50, 170)
HSLhsl(239, 56%, 43%)
HSVhsv(239, 72%, 67%)
CMYKcmyk(71.8%, 70.6%, 0%, 33.3%)
CIE-LABlab(28.93, 39.29, -64.13)
CIE-LCHlch(28.93, 75.21, 301.50°)
OKLaboklab(40.38% 0.0116 -0.1854)
OKLCHoklch(40.38% 0.186 273.6)
XYZxyz(9.6128, 5.8109, 38.6374)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3032AA #AAA830
analogous
#306FAA #3032AA #6B30AA
triadic
#3032AA #AA3032 #32AA30
tetradic
#3032AA #AA306F #AAA830 #30AA6B
square
#3032AA #AA306F #AAA830 #30AA6B
split-complementary
#3032AA #AA6B30 #6FAA30
monochromatic
#15164B #23247A #3032AA #4B4DCC #7B7CDA

Accessibility & contrast

On white

9.71
#3032AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3032AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3032AA#FFFFFF#000000##FFFFFF
##3032AA1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#003EA8
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3032aa;
/* rgb */ color: rgb(48, 50, 170);
/* oklch */ color: oklch(40.4% 0.186 273.6);
Tailwind
colors: {
  custom: {
    50: '#7b6bc4',
    500: '#3032aa',
    950: '#000000',
  },
}
SCSS
$custom: #3032aa;
$custom-light: #7b6bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3032aa",
  "rgb": {
    "r": 48,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 239.016,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40375,
    "c": 0.18578,
    "h": 273.6
  },
  "luminance": 0.05812
}

Semantic roles & 50–950 ramp

primary
#3032AA
secondary
#C2C174
accent
#DD49DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3032AA

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

Preview Lab → · Contrast checker → · Palette generator →

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