#332BB0#332BB0

#332BB0 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.2% C 0.200 H 275.2°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#332BB0
RGBrgb(51, 43, 176)
HSLhsl(244, 61%, 43%)
HSVhsv(244, 76%, 69%)
CMYKcmyk(71%, 75.6%, 0%, 31%)
CIE-LABlab(28.29, 45.64, -68.78)
CIE-LCHlch(28.29, 82.54, 303.57°)
OKLaboklab(40.15% 0.0181 -0.1989)
OKLCHoklch(40.15% 0.2 275.2)
XYZxyz(10.0630, 5.5652, 41.6097)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332BB0 #A8B02B
analogous
#2B65B0 #332BB0 #752BB0
triadic
#332BB0 #B0332B #2BB033
tetradic
#332BB0 #B02B65 #A8B02B #2BB075
square
#332BB0 #B02B65 #A8B02B #2BB075
split-complementary
#332BB0 #B0752B #65B02B
monochromatic
#16134E #251F7F #332BB0 #4F46D2 #7E78DE

Accessibility & contrast

On white

9.94
#332BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#332BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332BB0
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332BB0#FFFFFF#000000##FFFFFF
##332BB01.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#003DAE
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #332bb0;
/* rgb */ color: rgb(51, 43, 176);
/* oklch */ color: oklch(40.2% 0.200 275.2);
Tailwind
colors: {
  custom: {
    50: '#7e67c9',
    500: '#332bb0',
    950: '#000000',
  },
}
SCSS
$custom: #332bb0;
$custom-light: #7e67c9;
$custom-dark: #000000;
JSON
{
  "hex": "#332bb0",
  "rgb": {
    "r": 51,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 243.609,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40151,
    "c": 0.19969,
    "h": 275.2
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#332BB0
secondary
#C1C671
accent
#E444DA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #332BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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