#3366E2#3366E2

#3366E2 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.9% C 0.197 H 264.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#3366E2
RGBrgb(51, 102, 226)
HSLhsl(223, 75%, 54%)
HSVhsv(223, 77%, 89%)
CMYKcmyk(77.4%, 54.9%, 0%, 11.4%)
CIE-LABlab(46.57, 26.89, -67.90)
CIE-LCHlch(46.57, 73.03, 291.61°)
OKLaboklab(54.91% -0.0204 -0.1959)
OKLCHoklch(54.91% 0.197 264.1)
XYZxyz(19.8392, 15.6952, 73.9206)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3366E2 #E2AF33
analogous
#33BEE2 #3366E2 #5833E2
triadic
#3366E2 #E23366 #66E233
tetradic
#3366E2 #E233BE #E2AF33 #33E258
square
#3366E2 #E233BE #E2AF33 #33E258
split-complementary
#3366E2 #E25833 #BEE233
monochromatic
#133587 #1B4ABD #3366E2 #698EEA #9EB6F1

Accessibility & contrast

On white

5.07
#3366E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#3366E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3366E2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3366E2#FFFFFF#000000##FFFFFF
##3366E21.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#0067E0
Tritanopia (blue-blind)
#00859A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3366e2;
/* rgb */ color: rgb(51, 102, 226);
/* oklch */ color: oklch(54.9% 0.197 264.1);
Tailwind
colors: {
  custom: {
    50: '#8491ec',
    500: '#3366e2',
    950: '#000000',
  },
}
SCSS
$custom: #3366e2;
$custom-light: #8491ec;
$custom-dark: #000000;
JSON
{
  "hex": "#3366e2",
  "rgb": {
    "r": 51,
    "g": 102,
    "b": 226
  },
  "hsl": {
    "h": 222.514,
    "s": 75.107,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54906,
    "c": 0.19695,
    "h": 264.1
  },
  "luminance": 0.15698
}

Semantic roles & 50–950 ramp

primary
#3366E2
secondary
#DEC893
accent
#BB36F2
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3366E2

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

Preview Lab → · Contrast checker → · Palette generator →

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