#3333C1#3333C1

#3333C1 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.0% C 0.213 H 273.0°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#3333C1
RGBrgb(51, 51, 193)
HSLhsl(240, 58%, 48%)
HSVhsv(240, 74%, 76%)
CMYKcmyk(73.6%, 73.6%, 0%, 24.3%)
CIE-LABlab(31.63, 46.74, -73.35)
CIE-LCHlch(31.63, 86.97, 302.51°)
OKLaboklab(43.04% 0.0109 -0.2122)
OKLCHoklch(43.04% 0.213 273)
XYZxyz(12.1715, 6.9205, 51.1361)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333C1 #C1C133
analogous
#337AC1 #3333C1 #7A33C1
triadic
#3333C1 #C13333 #33C133
tetradic
#3333C1 #C1337A #C1C133 #33C17A
square
#3333C1 #C1337A #C1C133 #33C17A
split-complementary
#3333C1 #C17A33 #7AC133
monochromatic
#191960 #262691 #3333C1 #5D5DD4 #8D8DE1

Accessibility & contrast

On white

8.81
#3333C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3333C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3333C1
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3333C1#FFFFFF#000000##FFFFFF
##3333C11.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C5
Deuteranopia (green-blind)
#0043BE
Tritanopia (blue-blind)
#005C77
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3333c1;
/* rgb */ color: rgb(51, 51, 193);
/* oklch */ color: oklch(43.0% 0.213 273.0);
Tailwind
colors: {
  custom: {
    50: '#816cd5',
    500: '#3333c1',
    950: '#000000',
  },
}
SCSS
$custom: #3333c1;
$custom-light: #816cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3333c1",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 193
  },
  "hsl": {
    "h": 240,
    "s": 58.197,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4304,
    "c": 0.21251,
    "h": 273
  },
  "luminance": 0.06922
}

Semantic roles & 50–950 ramp

primary
#3333C1
secondary
#CBCB84
accent
#E146E1
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3333C1

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

Preview Lab → · Contrast checker → · Palette generator →

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