#332C90#332C90

#332C90 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.158 H 278.5°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#332C90
RGBrgb(51, 44, 144)
HSLhsl(244, 53%, 37%)
HSVhsv(244, 69%, 56%)
CMYKcmyk(64.6%, 69.4%, 0%, 43.5%)
CIE-LABlab(25.32, 34.43, -54.21)
CIE-LCHlch(25.32, 64.22, 302.42°)
OKLaboklab(37.07% 0.0233 -0.1563)
OKLCHoklch(37.07% 0.158 278.5)
XYZxyz(7.2983, 4.5182, 26.8676)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332C90 #89902C
analogous
#2C5790 #332C90 #652C90
triadic
#332C90 #90332C #2C9033
tetradic
#332C90 #902C57 #89902C #2C9065
square
#332C90 #902C57 #89902C #2C9065
split-complementary
#332C90 #90652C #57902C
monochromatic
#120F32 #221E61 #332C90 #443ABF #6E66D0

Accessibility & contrast

On white

11.03
#332C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#332C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332C90
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332C90#FFFFFF#000000##FFFFFF
##332C901.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #332c90;
/* rgb */ color: rgb(51, 44, 144);
/* oklch */ color: oklch(37.1% 0.158 278.5);
Tailwind
colors: {
  custom: {
    50: '#7766b1',
    500: '#332c90',
    950: '#000000',
  },
}
SCSS
$custom: #332c90;
$custom-light: #7766b1;
$custom-dark: #000000;
JSON
{
  "hex": "#332c90",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 244.2,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37072,
    "c": 0.15807,
    "h": 278.5
  },
  "luminance": 0.04519
}

Semantic roles & 50–950 ramp

primary
#332C90
secondary
#B1B761
accent
#DD4BD2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #332C90

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

Preview Lab → · Contrast checker → · Palette generator →

#332C90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva