#333382#333382

#333382 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.130 H 278.0°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#333382
RGBrgb(51, 51, 130)
HSLhsl(240, 44%, 35%)
HSVhsv(240, 61%, 51%)
CMYKcmyk(60.8%, 60.8%, 0%, 49%)
CIE-LABlab(25.81, 25.05, -44.69)
CIE-LCHlch(25.81, 51.23, 299.28°)
OKLaboklab(37.06% 0.0181 -0.1283)
OKLCHoklch(37.06% 0.13 278)
XYZxyz(6.5770, 4.6827, 21.6720)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333382 #828233
analogous
#335A82 #333382 #5A3382
triadic
#333382 #823333 #338233
tetradic
#333382 #82335A #828233 #33825A
square
#333382 #82335A #828233 #33825A
split-complementary
#333382 #825A33 #5A8233
monochromatic
#11112A #222256 #333382 #4444AE #6B6BC5

Accessibility & contrast

On white

10.84
#333382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#333382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333382
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333382#FFFFFF#000000##FFFFFF
##3333821.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004085
Deuteranopia (green-blind)
#003A80
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #333382;
/* rgb */ color: rgb(51, 51, 130);
/* oklch */ color: oklch(37.1% 0.130 278.0);
Tailwind
colors: {
  custom: {
    50: '#736aa7',
    500: '#333382',
    950: '#000000',
  },
}
SCSS
$custom: #333382;
$custom-light: #736aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#333382",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 130
  },
  "hsl": {
    "h": 240,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37057,
    "c": 0.1296,
    "h": 278
  },
  "luminance": 0.04683
}

Semantic roles & 50–950 ramp

primary
#333382
secondary
#ADAD64
accent
#D354D3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #333382

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

Preview Lab → · Contrast checker → · Palette generator →

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