#3032A2#3032A2

#3032A2 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.175 H 274.1°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#3032A2
RGBrgb(48, 50, 162)
HSLhsl(239, 54%, 41%)
HSVhsv(239, 70%, 64%)
CMYKcmyk(70.4%, 69.1%, 0%, 36.5%)
CIE-LABlab(28.16, 36.52, -60.57)
CIE-LCHlch(28.16, 70.73, 301.09°)
OKLaboklab(39.59% 0.0127 -0.175)
OKLCHoklch(39.59% 0.175 274.1)
XYZxyz(8.8789, 5.5174, 34.7725)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3032A2 #A2A030
analogous
#306BA2 #3032A2 #6730A2
triadic
#3032A2 #A23032 #32A230
tetradic
#3032A2 #A2306B #A2A030 #30A267
square
#3032A2 #A2306B #A2A030 #30A267
split-complementary
#3032A2 #A26730 #6BA230
monochromatic
#141544 #222373 #3032A2 #4749C8 #7678D6

Accessibility & contrast

On white

9.98
#3032A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3032A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3032A2#FFFFFF#000000##FFFFFF
##3032A21.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#003DA0
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3032a2;
/* rgb */ color: rgb(48, 50, 162);
/* oklch */ color: oklch(39.6% 0.175 274.1);
Tailwind
colors: {
  custom: {
    50: '#796abf',
    500: '#3032a2',
    950: '#000000',
  },
}
SCSS
$custom: #3032a2;
$custom-light: #796abf;
$custom-dark: #000000;
JSON
{
  "hex": "#3032a2",
  "rgb": {
    "r": 48,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 238.947,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39587,
    "c": 0.17548,
    "h": 274.1
  },
  "luminance": 0.05518
}

Semantic roles & 50–950 ramp

primary
#3032A2
secondary
#BEBD6F
accent
#DB4ADE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #3032A2

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

Preview Lab → · Contrast checker → · Palette generator →

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