#332A67#332A67

#332A67 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 33.1% C 0.103 H 286.1°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#332A67
RGBrgb(51, 42, 103)
HSLhsl(249, 42%, 28%)
HSVhsv(249, 59%, 40%)
CMYKcmyk(50.5%, 59.2%, 0%, 59.6%)
CIE-LABlab(21.35, 21.74, -34.66)
CIE-LCHlch(21.35, 40.91, 302.11°)
OKLaboklab(33.09% 0.0285 -0.0989)
OKLCHoklch(33.09% 0.103 286.1)
XYZxyz(4.6407, 3.3388, 13.2293)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332A67 #5E672A
analogous
#2A3F67 #332A67 #512A67
triadic
#332A67 #67332A #2A6733
tetradic
#332A67 #672A3F #5E672A #2A6751
square
#332A67 #672A3F #5E672A #2A6751
split-complementary
#332A67 #67512A #3F672A
monochromatic
#0B0916 #1D183C #332A67 #493C92 #6253B9

Accessibility & contrast

On white

12.59
#332A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#332A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332A67
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332A67#FFFFFF#000000##FFFFFF
##332A671.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053569
Deuteranopia (green-blind)
#043166
Tritanopia (blue-blind)
#213844
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #332a67;
/* rgb */ color: rgb(51, 42, 103);
/* oklch */ color: oklch(33.1% 0.103 286.1);
Tailwind
colors: {
  custom: {
    50: '#6f6493',
    500: '#332a67',
    950: '#000000',
  },
}
SCSS
$custom: #332a67;
$custom-light: #6f6493;
$custom-dark: #000000;
JSON
{
  "hex": "#332a67",
  "rgb": {
    "r": 51,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 248.852,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33094,
    "c": 0.10292,
    "h": 286.1
  },
  "luminance": 0.03339
}

Semantic roles & 50–950 ramp

primary
#332A67
secondary
#8F9954
accent
#D256C0
background
#F6F5F9
surface
#ECEAF1
border
#C7C6CB
text
#08050D
muted
#7B797E

Preview Lab

Preview with #332A67

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

Preview Lab → · Contrast checker → · Palette generator →

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