#332490#332490

#332490 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.167 H 280.1°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#332490
RGBrgb(51, 36, 144)
HSLhsl(248, 60%, 35%)
HSVhsv(248, 75%, 56%)
CMYKcmyk(64.6%, 75%, 0%, 43.5%)
CIE-LABlab(23.60, 39.18, -57.03)
CIE-LCHlch(23.60, 69.19, 304.49°)
OKLaboklab(35.85% 0.0294 -0.1645)
OKLCHoklch(35.85% 0.167 280.1)
XYZxyz(7.0286, 3.9786, 26.7777)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332490 #819024
analogous
#244B90 #332490 #692490
triadic
#332490 #903324 #249033
tetradic
#332490 #90244B #819024 #249069
square
#332490 #90244B #819024 #249069
split-complementary
#332490 #906924 #4B9024
monochromatic
#100C2E #22185F #332490 #4430C1 #6A59D5

Accessibility & contrast

On white

11.69
#332490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#332490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332490
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332490#FFFFFF#000000##FFFFFF
##3324901.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #332490;
/* rgb */ color: rgb(51, 36, 144);
/* oklch */ color: oklch(35.8% 0.167 280.1);
Tailwind
colors: {
  custom: {
    50: '#7761b2',
    500: '#332490',
    950: '#000000',
  },
}
SCSS
$custom: #332490;
$custom-light: #7761b2;
$custom-dark: #000000;
JSON
{
  "hex": "#332490",
  "rgb": {
    "r": 51,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 248.333,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35846,
    "c": 0.16715,
    "h": 280.1
  },
  "luminance": 0.03979
}

Semantic roles & 50–950 ramp

primary
#332490
secondary
#ACBA56
accent
#E345CD
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #332490

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

Preview Lab → · Contrast checker → · Palette generator →

#332490 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva