#332494#332494

#332494 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.172 H 279.5°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#332494
RGBrgb(51, 36, 148)
HSLhsl(248, 61%, 36%)
HSVhsv(248, 76%, 58%)
CMYKcmyk(65.5%, 75.7%, 0%, 42%)
CIE-LABlab(24.01, 40.47, -58.83)
CIE-LCHlch(24.01, 71.40, 304.52°)
OKLaboklab(36.26% 0.0284 -0.1698)
OKLCHoklch(36.26% 0.172 279.5)
XYZxyz(7.3397, 4.1031, 28.4164)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332494 #859424
analogous
#244D94 #332494 #6B2494
triadic
#332494 #943324 #249433
tetradic
#332494 #94244D #859424 #24946B
square
#332494 #94244D #859424 #24946B
split-complementary
#332494 #946B24 #4D9424
monochromatic
#110C32 #221863 #332494 #4430C5 #6C5BD7

Accessibility & contrast

On white

11.53
#332494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#332494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332494
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332494#FFFFFF#000000##FFFFFF
##3324941.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #332494;
/* rgb */ color: rgb(51, 36, 148);
/* oklch */ color: oklch(36.3% 0.172 279.5);
Tailwind
colors: {
  custom: {
    50: '#7861b5',
    500: '#332494',
    950: '#000000',
  },
}
SCSS
$custom: #332494;
$custom-light: #7861b5;
$custom-dark: #000000;
JSON
{
  "hex": "#332494",
  "rgb": {
    "r": 51,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 248.036,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36258,
    "c": 0.17217,
    "h": 279.5
  },
  "luminance": 0.04104
}

Semantic roles & 50–950 ramp

primary
#332494
secondary
#AEBC58
accent
#E444CF
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #332494

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

Preview Lab → · Contrast checker → · Palette generator →

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