#332E92#332E92

#332E92 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.158 H 277.8°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#332E92
RGBrgb(51, 46, 146)
HSLhsl(243, 52%, 38%)
HSVhsv(243, 68%, 57%)
CMYKcmyk(65.1%, 68.5%, 0%, 42.7%)
CIE-LABlab(25.96, 33.88, -54.39)
CIE-LCHlch(25.96, 64.08, 301.92°)
OKLaboklab(37.59% 0.0215 -0.1569)
OKLCHoklch(37.59% 0.158 277.8)
XYZxyz(7.5289, 4.7325, 27.7053)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332E92 #8D922E
analogous
#2E5B92 #332E92 #652E92
triadic
#332E92 #92332E #2E9233
tetradic
#332E92 #922E5B #8D922E #2E9265
square
#332E92 #922E5B #8D922E #2E9265
split-complementary
#332E92 #92652E #5B922E
monochromatic
#121135 #231F63 #332E92 #433DC1 #6F6AD0

Accessibility & contrast

On white

10.79
#332E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#332E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332E92
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332E92#FFFFFF#000000##FFFFFF
##332E921.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#003990
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #332e92;
/* rgb */ color: rgb(51, 46, 146);
/* oklch */ color: oklch(37.6% 0.158 277.8);
Tailwind
colors: {
  custom: {
    50: '#7767b3',
    500: '#332e92',
    950: '#000000',
  },
}
SCSS
$custom: #332e92;
$custom-light: #7767b3;
$custom-dark: #000000;
JSON
{
  "hex": "#332e92",
  "rgb": {
    "r": 51,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 243,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37593,
    "c": 0.15833,
    "h": 277.8
  },
  "luminance": 0.04733
}

Semantic roles & 50–950 ramp

primary
#332E92
secondary
#B3B765
accent
#DC4CD4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #332E92

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

Preview Lab → · Contrast checker → · Palette generator →

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