#3333C7#3333C7

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

Color values

HEX#3333C7
RGBrgb(51, 51, 199)
HSLhsl(240, 59%, 49%)
HSVhsv(240, 74%, 78%)
CMYKcmyk(74.4%, 74.4%, 0%, 22%)
CIE-LABlab(32.24, 48.70, -75.84)
CIE-LCHlch(32.24, 90.14, 302.71°)
OKLaboklab(43.66% 0.0099 -0.2195)
OKLCHoklch(43.66% 0.22 272.6)
XYZxyz(12.8544, 7.1936, 54.7328)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333C7 #C7C733
analogous
#337DC7 #3333C7 #7D33C7
triadic
#3333C7 #C73333 #33C733
tetradic
#3333C7 #C7337D #C7C733 #33C77D
square
#3333C7 #C7337D #C7C733 #33C77D
split-complementary
#3333C7 #C77D33 #7DC733
monochromatic
#1A1A66 #272796 #3333C7 #6161D6 #9191E3

Accessibility & contrast

On white

8.61
#3333C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3333C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3333C7
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3333C7#FFFFFF#000000##FFFFFF
##3333C71.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)
#0053CB
Deuteranopia (green-blind)
#0044C4
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3333c7;
/* rgb */ color: rgb(51, 51, 199);
/* oklch */ color: oklch(43.7% 0.220 272.6);
Tailwind
colors: {
  custom: {
    50: '#826dd9',
    500: '#3333c7',
    950: '#000000',
  },
}
SCSS
$custom: #3333c7;
$custom-light: #826dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3333c7",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 199
  },
  "hsl": {
    "h": 240,
    "s": 59.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.43663,
    "c": 0.21972,
    "h": 272.6
  },
  "luminance": 0.07195
}

Semantic roles & 50–950 ramp

primary
#3333C7
secondary
#CECE88
accent
#E245E2
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3333C7

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

Preview Lab → · Contrast checker → · Palette generator →

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