#3032B5#3032B5

#3032B5 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.5% C 0.200 H 272.9°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#3032B5
RGBrgb(48, 50, 181)
HSLhsl(239, 58%, 45%)
HSVhsv(239, 73%, 71%)
CMYKcmyk(73.5%, 72.4%, 0%, 29%)
CIE-LABlab(30.02, 43.04, -68.91)
CIE-LCHlch(30.02, 81.24, 301.99°)
OKLaboklab(41.49% 0.01 -0.1994)
OKLCHoklch(41.49% 0.2 272.9)
XYZxyz(10.6972, 6.2447, 44.3487)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3032B5 #B5B330
analogous
#3074B5 #3032B5 #7130B5
triadic
#3032B5 #B53032 #32B530
tetradic
#3032B5 #B53074 #B5B330 #30B571
square
#3032B5 #B53074 #B5B330 #30B571
split-complementary
#3032B5 #B57130 #74B530
monochromatic
#161754 #232585 #3032B5 #5153D1 #8283DE

Accessibility & contrast

On white

9.34
#3032B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3032B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3032B5#FFFFFF#000000##FFFFFF
##3032B51.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0040B3
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3032b5;
/* rgb */ color: rgb(48, 50, 181);
/* oklch */ color: oklch(41.5% 0.200 272.9);
Tailwind
colors: {
  custom: {
    50: '#7d6bcc',
    500: '#3032b5',
    950: '#000000',
  },
}
SCSS
$custom: #3032b5;
$custom-light: #7d6bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3032b5",
  "rgb": {
    "r": 48,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 239.098,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41486,
    "c": 0.19961,
    "h": 272.9
  },
  "luminance": 0.06246
}

Semantic roles & 50–950 ramp

primary
#3032B5
secondary
#C7C67A
accent
#DF46E1
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3032B5

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

Preview Lab → · Contrast checker → · Palette generator →

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