#332E9E#332E9E

#332E9E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.174 H 276.5°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#332E9E
RGBrgb(51, 46, 158)
HSLhsl(243, 55%, 40%)
HSVhsv(243, 71%, 62%)
CMYKcmyk(67.7%, 70.9%, 0%, 38%)
CIE-LABlab(27.09, 37.97, -59.89)
CIE-LCHlch(27.09, 70.91, 302.37°)
OKLaboklab(38.75% 0.0197 -0.1729)
OKLCHoklch(38.75% 0.174 276.5)
XYZxyz(8.5118, 5.1257, 32.8819)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332E9E #999E2E
analogous
#2E619E #332E9E #6B2E9E
triadic
#332E9E #9E332E #2E9E33
tetradic
#332E9E #9E2E61 #999E2E #2E9E6B
square
#332E9E #9E2E61 #999E2E #2E9E6B
split-complementary
#332E9E #9E6B2E #619E2E
monochromatic
#14123F #24206F #332E9E #4741C8 #7571D6

Accessibility & contrast

On white

10.37
#332E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#332E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332E9E
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332E9E#FFFFFF#000000##FFFFFF
##332E9E1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #332e9e;
/* rgb */ color: rgb(51, 46, 158);
/* oklch */ color: oklch(38.8% 0.174 276.5);
Tailwind
colors: {
  custom: {
    50: '#7968bc',
    500: '#332e9e',
    950: '#000000',
  },
}
SCSS
$custom: #332e9e;
$custom-light: #7968bc;
$custom-dark: #000000;
JSON
{
  "hex": "#332e9e",
  "rgb": {
    "r": 51,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 242.679,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.38753,
    "c": 0.17407,
    "h": 276.5
  },
  "luminance": 0.05126
}

Semantic roles & 50–950 ramp

primary
#332E9E
secondary
#B9BD6B
accent
#DE4AD8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #332E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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