#332CA0#332CA0

#332CA0 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.179 H 276.6°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#332CA0
RGBrgb(51, 44, 160)
HSLhsl(244, 57%, 40%)
HSVhsv(244, 73%, 63%)
CMYKcmyk(68.1%, 72.5%, 0%, 37.3%)
CIE-LABlab(26.86, 39.83, -61.49)
CIE-LCHlch(26.86, 73.26, 302.93°)
OKLaboklab(38.65% 0.0207 -0.1776)
OKLCHoklch(38.65% 0.179 276.6)
XYZxyz(8.6090, 5.0425, 33.7705)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332CA0 #99A02C
analogous
#2C5FA0 #332CA0 #6D2CA0
triadic
#332CA0 #A0332C #2CA033
tetradic
#332CA0 #A02C5F #99A02C #2CA06D
square
#332CA0 #A02C5F #99A02C #2CA06D
split-complementary
#332CA0 #A06D2C #5FA02C
monochromatic
#141240 #241F70 #332CA0 #473FCA #756FD7

Accessibility & contrast

On white

10.46
#332CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#332CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332CA0
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332CA0#FFFFFF#000000##FFFFFF
##332CA01.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.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: #332ca0;
/* rgb */ color: rgb(51, 44, 160);
/* oklch */ color: oklch(38.6% 0.179 276.6);
Tailwind
colors: {
  custom: {
    50: '#7a67bd',
    500: '#332ca0',
    950: '#000000',
  },
}
SCSS
$custom: #332ca0;
$custom-light: #7a67bd;
$custom-dark: #000000;
JSON
{
  "hex": "#332ca0",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 243.621,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.38645,
    "c": 0.17883,
    "h": 276.6
  },
  "luminance": 0.05043
}

Semantic roles & 50–950 ramp

primary
#332CA0
secondary
#B9BF69
accent
#E048D7
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #332CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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