#3336CC#3336CC

#3336CC is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.6% C 0.223 H 272.0°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#3336CC
RGBrgb(51, 54, 204)
HSLhsl(239, 60%, 50%)
HSVhsv(239, 75%, 80%)
CMYKcmyk(75%, 73.5%, 0%, 20%)
CIE-LABlab(33.35, 48.67, -76.93)
CIE-LCHlch(33.35, 91.03, 302.32°)
OKLaboklab(44.6% 0.0077 -0.2227)
OKLCHoklch(44.6% 0.223 272)
XYZxyz(13.5798, 7.7003, 57.8857)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3336CC #CCC933
analogous
#3382CC #3336CC #7D33CC
triadic
#3336CC #CC3336 #36CC33
tetradic
#3336CC #CC3382 #CCC933 #33CC7D
square
#3336CC #CC3382 #CCC933 #33CC7D
split-complementary
#3336CC #CC7D33 #82CC33
monochromatic
#1B1C6A #27299B #3336CC #6466D8 #9596E4

Accessibility & contrast

On white

8.27
#3336CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3336CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3336CC
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3336CC#FFFFFF#000000##FFFFFF
##3336CC1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D0
Deuteranopia (green-blind)
#0047C9
Tritanopia (blue-blind)
#00627E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3336cc;
/* rgb */ color: rgb(51, 54, 204);
/* oklch */ color: oklch(44.6% 0.223 272.0);
Tailwind
colors: {
  custom: {
    50: '#836fdd',
    500: '#3336cc',
    950: '#000000',
  },
}
SCSS
$custom: #3336cc;
$custom-light: #836fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#3336cc",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 238.824,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.44603,
    "c": 0.22281,
    "h": 272
  },
  "luminance": 0.07702
}

Semantic roles & 50–950 ramp

primary
#3336CC
secondary
#D0CE8B
accent
#E045E3
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3336CC

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

Preview Lab → · Contrast checker → · Palette generator →

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