#332E86#332E86

#332E86 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.142 H 279.2°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#332E86
RGBrgb(51, 46, 134)
HSLhsl(243, 49%, 35%)
HSVhsv(243, 66%, 53%)
CMYKcmyk(61.9%, 65.7%, 0%, 47.5%)
CIE-LABlab(24.89, 29.74, -48.70)
CIE-LCHlch(24.89, 57.06, 301.41°)
OKLaboklab(36.48% 0.0228 -0.1402)
OKLCHoklch(36.48% 0.142 279.2)
XYZxyz(6.6439, 4.3785, 23.0447)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332E86 #81862E
analogous
#2E5586 #332E86 #5F2E86
triadic
#332E86 #86332E #2E8633
tetradic
#332E86 #862E55 #81862E #2E865F
square
#332E86 #862E55 #81862E #2E865F
split-complementary
#332E86 #865F2E #55862E
monochromatic
#100F2B #221E58 #332E86 #443EB4 #6A64CA

Accessibility & contrast

On white

11.20
#332E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#332E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332E86
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332E86#FFFFFF#000000##FFFFFF
##332E861.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003884
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #332e86;
/* rgb */ color: rgb(51, 46, 134);
/* oklch */ color: oklch(36.5% 0.142 279.2);
Tailwind
colors: {
  custom: {
    50: '#7467aa',
    500: '#332e86',
    950: '#000000',
  },
}
SCSS
$custom: #332e86;
$custom-light: #7467aa;
$custom-dark: #000000;
JSON
{
  "hex": "#332e86",
  "rgb": {
    "r": 51,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 243.409,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36482,
    "c": 0.142,
    "h": 279.2
  },
  "luminance": 0.04379
}

Semantic roles & 50–950 ramp

primary
#332E86
secondary
#ACB15F
accent
#D84FD1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #332E86

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

Preview Lab → · Contrast checker → · Palette generator →

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