#332094#332094

#332094 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.176 H 280.1°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#332094
RGBrgb(51, 32, 148)
HSLhsl(250, 64%, 35%)
HSVhsv(250, 78%, 58%)
CMYKcmyk(65.5%, 78.4%, 0%, 42%)
CIE-LABlab(23.25, 42.62, -60.08)
CIE-LCHlch(23.25, 73.66, 305.35°)
OKLaboklab(35.73% 0.031 -0.1734)
OKLCHoklch(35.73% 0.176 280.1)
XYZxyz(7.2253, 3.8744, 28.3783)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332094 #819420
analogous
#204794 #332094 #6D2094
triadic
#332094 #943320 #209433
tetradic
#332094 #942047 #819420 #20946D
square
#332094 #942047 #819420 #20946D
split-complementary
#332094 #946D20 #479420
monochromatic
#100A2F #221562 #332094 #442BC6 #6A54DA

Accessibility & contrast

On white

11.83
#332094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#332094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332094
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332094#FFFFFF#000000##FFFFFF
##3320941.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003392
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #332094;
/* rgb */ color: rgb(51, 32, 148);
/* oklch */ color: oklch(35.7% 0.176 280.1);
Tailwind
colors: {
  custom: {
    50: '#795fb5',
    500: '#332094',
    950: '#000000',
  },
}
SCSS
$custom: #332094;
$custom-light: #795fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#332094",
  "rgb": {
    "r": 51,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 249.828,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35726,
    "c": 0.17616,
    "h": 280.1
  },
  "luminance": 0.03875
}

Semantic roles & 50–950 ramp

primary
#332094
secondary
#ACBE52
accent
#E740CC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #332094

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

Preview Lab → · Contrast checker → · Palette generator →

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