#332483#332483

#332483 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.150 H 282.3°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#332483
RGBrgb(51, 36, 131)
HSLhsl(249, 57%, 33%)
HSVhsv(249, 73%, 51%)
CMYKcmyk(61.1%, 72.5%, 0%, 48.6%)
CIE-LABlab(22.32, 34.94, -51.02)
CIE-LCHlch(22.32, 61.84, 304.41°)
OKLaboklab(34.54% 0.0321 -0.147)
OKLCHoklch(34.54% 0.15 282.3)
XYZxyz(6.0916, 3.6038, 21.8429)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332483 #748324
analogous
#244483 #332483 #632483
triadic
#332483 #833324 #248333
tetradic
#332483 #832444 #748324 #248363
square
#332483 #832444 #748324 #248363
split-complementary
#332483 #836324 #448324
monochromatic
#0E0A23 #201753 #332483 #4631B3 #6652CF

Accessibility & contrast

On white

12.20
#332483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#332483 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332483
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332483#FFFFFF#000000##FFFFFF
##3324831.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003281
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #332483;
/* rgb */ color: rgb(51, 36, 131);
/* oklch */ color: oklch(34.5% 0.150 282.3);
Tailwind
colors: {
  custom: {
    50: '#7560a8',
    500: '#332483',
    950: '#000000',
  },
}
SCSS
$custom: #332483;
$custom-light: #7560a8;
$custom-dark: #000000;
JSON
{
  "hex": "#332483",
  "rgb": {
    "r": 51,
    "g": 36,
    "b": 131
  },
  "hsl": {
    "h": 249.474,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34543,
    "c": 0.15044,
    "h": 282.3
  },
  "luminance": 0.03604
}

Semantic roles & 50–950 ramp

primary
#332483
secondary
#A4B34F
accent
#E048C8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #332483

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

Preview Lab → · Contrast checker → · Palette generator →

#332483 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva