#332E8A#332E8A

#332E8A is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.148 H 278.7°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#332E8A
RGBrgb(51, 46, 138)
HSLhsl(243, 50%, 36%)
HSVhsv(243, 67%, 54%)
CMYKcmyk(63%, 66.7%, 0%, 45.9%)
CIE-LABlab(25.24, 31.12, -50.62)
CIE-LCHlch(25.24, 59.42, 301.58°)
OKLaboklab(36.85% 0.0224 -0.1458)
OKLCHoklch(36.85% 0.148 278.7)
XYZxyz(6.9282, 4.4923, 24.5418)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332E8A #858A2E
analogous
#2E578A #332E8A #612E8A
triadic
#332E8A #8A332E #2E8A33
tetradic
#332E8A #8A2E57 #858A2E #2E8A61
square
#332E8A #8A2E57 #858A2E #2E8A61
split-complementary
#332E8A #8A612E #578A2E
monochromatic
#110F2E #221F5C #332E8A #443DB8 #6C66CC

Accessibility & contrast

On white

11.06
#332E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332E8A
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332E8A#FFFFFF#000000##FFFFFF
##332E8A1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003888
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #332e8a;
/* rgb */ color: rgb(51, 46, 138);
/* oklch */ color: oklch(36.8% 0.148 278.7);
Tailwind
colors: {
  custom: {
    50: '#7567ad',
    500: '#332e8a',
    950: '#000000',
  },
}
SCSS
$custom: #332e8a;
$custom-light: #7567ad;
$custom-dark: #000000;
JSON
{
  "hex": "#332e8a",
  "rgb": {
    "r": 51,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 243.261,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36846,
    "c": 0.14751,
    "h": 278.7
  },
  "luminance": 0.04493
}

Semantic roles & 50–950 ramp

primary
#332E8A
secondary
#AEB361
accent
#DA4ED2
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #332E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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