#3366CC#3366CC

#3366CC is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.2% C 0.168 H 262.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#3366CC
RGBrgb(51, 102, 204)
HSLhsl(220, 60%, 50%)
HSVhsv(220, 75%, 80%)
CMYKcmyk(75%, 50%, 0%, 20%)
CIE-LABlab(45.03, 18.71, -57.85)
CIE-LCHlch(45.03, 60.80, 287.92°)
OKLaboklab(53.25% -0.0225 -0.1663)
OKLCHoklch(53.25% 0.168 262.3)
XYZxyz(17.0118, 14.5643, 59.0296)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3366CC #CC9933
analogous
#33B2CC #3366CC #4C33CC
triadic
#3366CC #CC3366 #66CC33
tetradic
#3366CC #CC33B2 #CC9933 #33CC4D
square
#3366CC #CC33B2 #CC9933 #33CC4D
split-complementary
#3366CC #CC4C33 #B2CC33
monochromatic
#1B356A #274E9B #3366CC #648BD8 #95AFE4

Accessibility & contrast

On white

5.37
#3366CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#3366CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3366CC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3366CC#FFFFFF#000000##FFFFFF
##3366CC1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2872D0
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#007E8F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3366cc;
/* rgb */ color: rgb(51, 102, 204);
/* oklch */ color: oklch(53.2% 0.168 262.3);
Tailwind
colors: {
  custom: {
    50: '#8091dc',
    500: '#3366cc',
    950: '#000000',
  },
}
SCSS
$custom: #3366cc;
$custom-light: #8091dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3366cc",
  "rgb": {
    "r": 51,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 220,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.53248,
    "c": 0.16787,
    "h": 262.3
  },
  "luminance": 0.14566
}

Semantic roles & 50–950 ramp

primary
#3366CC
secondary
#D0B98B
accent
#AE45E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3366CC

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

Preview Lab → · Contrast checker → · Palette generator →

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