#3336E2#3336E2

#3336E2 is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.9% C 0.248 H 270.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#3336E2
RGBrgb(51, 54, 226)
HSLhsl(239, 75%, 54%)
HSVhsv(239, 77%, 89%)
CMYKcmyk(77.4%, 76.1%, 0%, 11.4%)
CIE-LABlab(35.66, 55.74, -85.80)
CIE-LCHlch(35.66, 102.32, 303.01°)
OKLaboklab(46.92% 0.0039 -0.2484)
OKLCHoklch(46.92% 0.248 270.9)
XYZxyz(16.4072, 8.8313, 72.7767)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3336E2 #E2DF33
analogous
#338EE2 #3336E2 #8733E2
triadic
#3336E2 #E23336 #36E233
tetradic
#3336E2 #E2338E #E2DF33 #33E287
square
#3336E2 #E2338E #E2DF33 #33E287
split-complementary
#3336E2 #E28733 #8EE233
monochromatic
#131587 #1B1EBD #3336E2 #696BEA #9EA0F1

Accessibility & contrast

On white

7.59
#3336E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3336E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3336E2
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3336E2#FFFFFF#000000##FFFFFF
##3336E21.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE7
Deuteranopia (green-blind)
#004BDF
Tritanopia (blue-blind)
#006A8B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3336e2;
/* rgb */ color: rgb(51, 54, 226);
/* oklch */ color: oklch(46.9% 0.248 270.9);
Tailwind
colors: {
  custom: {
    50: '#8870ed',
    500: '#3336e2',
    950: '#000000',
  },
}
SCSS
$custom: #3336e2;
$custom-light: #8870ed;
$custom-dark: #000000;
JSON
{
  "hex": "#3336e2",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 226
  },
  "hsl": {
    "h": 238.971,
    "s": 75.107,
    "l": 54.314
  },
  "oklch": {
    "l": 0.46915,
    "c": 0.24848,
    "h": 270.9
  },
  "luminance": 0.08833
}

Semantic roles & 50–950 ramp

primary
#3336E2
secondary
#DEDC93
accent
#EE36F2
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #3336E2

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

Preview Lab → · Contrast checker → · Palette generator →

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