#332BA0#332BA0

#332BA0 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.180 H 276.8°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#332BA0
RGBrgb(51, 43, 160)
HSLhsl(244, 58%, 40%)
HSVhsv(244, 73%, 63%)
CMYKcmyk(68.1%, 73.1%, 0%, 37.3%)
CIE-LABlab(26.65, 40.41, -61.84)
CIE-LCHlch(26.65, 73.87, 303.16°)
OKLaboklab(38.5% 0.0214 -0.1786)
OKLCHoklch(38.5% 0.18 276.8)
XYZxyz(8.5722, 4.9689, 33.7582)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332BA0 #98A02B
analogous
#2B5DA0 #332BA0 #6E2BA0
triadic
#332BA0 #A0332B #2BA033
tetradic
#332BA0 #A02B5D #98A02B #2BA06E
square
#332BA0 #A02B5D #98A02B #2BA06E
split-complementary
#332BA0 #A06E2B #5DA02B
monochromatic
#141140 #241E70 #332BA0 #473DCB #756ED8

Accessibility & contrast

On white

10.53
#332BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#332BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332BA0
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332BA0#FFFFFF#000000##FFFFFF
##332BA01.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#003A9E
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #332ba0;
/* rgb */ color: rgb(51, 43, 160);
/* oklch */ color: oklch(38.5% 0.180 276.8);
Tailwind
colors: {
  custom: {
    50: '#7a66bd',
    500: '#332ba0',
    950: '#000000',
  },
}
SCSS
$custom: #332ba0;
$custom-light: #7a66bd;
$custom-dark: #000000;
JSON
{
  "hex": "#332ba0",
  "rgb": {
    "r": 51,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 244.103,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38495,
    "c": 0.1799,
    "h": 276.8
  },
  "luminance": 0.0497
}

Semantic roles & 50–950 ramp

primary
#332BA0
secondary
#B9BF68
accent
#E147D6
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #332BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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