#3336C1#3336C1

#3336C1 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.5% C 0.210 H 272.6°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#3336C1
RGBrgb(51, 54, 193)
HSLhsl(239, 58%, 48%)
HSVhsv(239, 74%, 76%)
CMYKcmyk(73.6%, 72%, 0%, 24.3%)
CIE-LABlab(32.24, 45.03, -72.34)
CIE-LCHlch(32.24, 85.21, 301.90°)
OKLaboklab(43.48% 0.0095 -0.2093)
OKLCHoklch(43.48% 0.21 272.6)
XYZxyz(12.3068, 7.1911, 51.1812)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3336C1 #C1BE33
analogous
#337DC1 #3336C1 #7733C1
triadic
#3336C1 #C13336 #36C133
tetradic
#3336C1 #C1337D #C1BE33 #33C177
square
#3336C1 #C1337D #C1BE33 #33C177
split-complementary
#3336C1 #C17733 #7DC133
monochromatic
#191B60 #262891 #3336C1 #5D60D4 #8D8FE1

Accessibility & contrast

On white

8.61
#3336C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3336C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3336C1
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3336C1#FFFFFF#000000##FFFFFF
##3336C11.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C5
Deuteranopia (green-blind)
#0045BE
Tritanopia (blue-blind)
#005D78
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3336c1;
/* rgb */ color: rgb(51, 54, 193);
/* oklch */ color: oklch(43.5% 0.210 272.6);
Tailwind
colors: {
  custom: {
    50: '#816ed5',
    500: '#3336c1',
    950: '#000000',
  },
}
SCSS
$custom: #3336c1;
$custom-light: #816ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#3336c1",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 193
  },
  "hsl": {
    "h": 238.732,
    "s": 58.197,
    "l": 47.843
  },
  "oklch": {
    "l": 0.43477,
    "c": 0.20951,
    "h": 272.6
  },
  "luminance": 0.07192
}

Semantic roles & 50–950 ramp

primary
#3336C1
secondary
#CBCA84
accent
#DE46E1
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3336C1

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

Preview Lab → · Contrast checker → · Palette generator →

#3336C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva