#332E66#332E66

#332E66 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.8% C 0.095 H 284.1°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#332E66
RGBrgb(51, 46, 102)
HSLhsl(245, 38%, 29%)
HSVhsv(245, 55%, 40%)
CMYKcmyk(50%, 54.9%, 0%, 60%)
CIE-LABlab(22.36, 18.68, -32.38)
CIE-LCHlch(22.36, 37.39, 299.99°)
OKLaboklab(33.82% 0.0232 -0.0922)
OKLCHoklch(33.82% 0.095 284.1)
XYZxyz(4.7398, 3.6169, 13.0162)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332E66 #61662E
analogous
#2E4566 #332E66 #4F2E66
triadic
#332E66 #66332E #2E6633
tetradic
#332E66 #662E45 #61662E #2E664F
square
#332E66 #662E45 #61662E #2E664F
split-complementary
#332E66 #664F2E #45662E
monochromatic
#0B0A15 #1E1B3C #332E66 #484190 #625AB5

Accessibility & contrast

On white

12.19
#332E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#332E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332E66
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332E66#FFFFFF#000000##FFFFFF
##332E661.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133768
Deuteranopia (green-blind)
#103465
Tritanopia (blue-blind)
#223A45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #332e66;
/* rgb */ color: rgb(51, 46, 102);
/* oklch */ color: oklch(33.8% 0.095 284.1);
Tailwind
colors: {
  custom: {
    50: '#6f6692',
    500: '#332e66',
    950: '#000000',
  },
}
SCSS
$custom: #332e66;
$custom-light: #6f6692;
$custom-dark: #000000;
JSON
{
  "hex": "#332e66",
  "rgb": {
    "r": 51,
    "g": 46,
    "b": 102
  },
  "hsl": {
    "h": 245.357,
    "s": 37.838,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33822,
    "c": 0.09507,
    "h": 284.1
  },
  "luminance": 0.03617
}

Semantic roles & 50–950 ramp

primary
#332E66
secondary
#929858
accent
#CE5AC3
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #332E66

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

Preview Lab → · Contrast checker → · Palette generator →

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