#3336C2#3336C2

#3336C2 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.6% C 0.211 H 272.5°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#3336C2
RGBrgb(51, 54, 194)
HSLhsl(239, 58%, 48%)
HSVhsv(239, 74%, 76%)
CMYKcmyk(73.7%, 72.2%, 0%, 23.9%)
CIE-LABlab(32.34, 45.36, -72.76)
CIE-LCHlch(32.34, 85.74, 301.94°)
OKLaboklab(43.58% 0.0093 -0.2105)
OKLCHoklch(43.58% 0.211 272.5)
XYZxyz(12.4187, 7.2359, 51.7707)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3336C2 #C2BF33
analogous
#337EC2 #3336C2 #7733C2
triadic
#3336C2 #C23336 #36C233
tetradic
#3336C2 #C2337E #C2BF33 #33C277
square
#3336C2 #C2337E #C2BF33 #33C277
split-complementary
#3336C2 #C27733 #7EC233
monochromatic
#1A1B61 #262992 #3336C2 #5E60D5 #8E90E1

Accessibility & contrast

On white

8.58
#3336C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3336C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3336C2
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3336C2#FFFFFF#000000##FFFFFF
##3336C21.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C6
Deuteranopia (green-blind)
#0045BF
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3336c2;
/* rgb */ color: rgb(51, 54, 194);
/* oklch */ color: oklch(43.6% 0.211 272.5);
Tailwind
colors: {
  custom: {
    50: '#816ed6',
    500: '#3336c2',
    950: '#000000',
  },
}
SCSS
$custom: #3336c2;
$custom-light: #816ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#3336c2",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 238.741,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.43579,
    "c": 0.21074,
    "h": 272.5
  },
  "luminance": 0.07237
}

Semantic roles & 50–950 ramp

primary
#3336C2
secondary
#CCCA85
accent
#DE46E2
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3336C2

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

Preview Lab → · Contrast checker → · Palette generator →

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