#3032B3#3032B3

#3032B3 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.3% C 0.197 H 273.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#3032B3
RGBrgb(48, 50, 179)
HSLhsl(239, 58%, 45%)
HSVhsv(239, 73%, 70%)
CMYKcmyk(73.2%, 72.1%, 0%, 29.8%)
CIE-LABlab(29.82, 42.36, -68.05)
CIE-LCHlch(29.82, 80.16, 301.90°)
OKLaboklab(41.28% 0.0103 -0.1968)
OKLCHoklch(41.28% 0.197 273)
XYZxyz(10.4935, 6.1632, 43.2757)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3032B3 #B3B130
analogous
#3074B3 #3032B3 #7030B3
triadic
#3032B3 #B33032 #32B330
tetradic
#3032B3 #B33074 #B3B130 #30B370
square
#3032B3 #B33074 #B3B130 #30B370
split-complementary
#3032B3 #B37030 #74B330
monochromatic
#161752 #232583 #3032B3 #5052D0 #8082DD

Accessibility & contrast

On white

9.41
#3032B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3032B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3032B3#FFFFFF#000000##FFFFFF
##3032B31.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0040B1
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3032b3;
/* rgb */ color: rgb(48, 50, 179);
/* oklch */ color: oklch(41.3% 0.197 273.0);
Tailwind
colors: {
  custom: {
    50: '#7d6bcb',
    500: '#3032b3',
    950: '#000000',
  },
}
SCSS
$custom: #3032b3;
$custom-light: #7d6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3032b3",
  "rgb": {
    "r": 48,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 239.084,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41282,
    "c": 0.19712,
    "h": 273
  },
  "luminance": 0.06164
}

Semantic roles & 50–950 ramp

primary
#3032B3
secondary
#C6C579
accent
#DF47E1
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3032B3

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

Preview Lab → · Contrast checker → · Palette generator →

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