#3336D2#3336D2

#3336D2 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.2% C 0.230 H 271.7°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#3336D2
RGBrgb(51, 54, 210)
HSLhsl(239, 64%, 51%)
HSVhsv(239, 76%, 82%)
CMYKcmyk(75.7%, 74.3%, 0%, 17.6%)
CIE-LABlab(33.97, 50.63, -79.39)
CIE-LCHlch(33.97, 94.16, 302.52°)
OKLaboklab(45.23% 0.0067 -0.2298)
OKLCHoklch(45.23% 0.23 271.7)
XYZxyz(14.3133, 7.9937, 61.7489)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3336D2 #D2CF33
analogous
#3385D2 #3336D2 #7F33D2
triadic
#3336D2 #D23336 #36D233
tetradic
#3336D2 #D23385 #D2CF33 #33D27F
square
#3336D2 #D23385 #D2CF33 #33D27F
split-complementary
#3336D2 #D27F33 #85D233
monochromatic
#191B72 #2427A4 #3336D2 #6567DD #9799E8

Accessibility & contrast

On white

8.08
#3336D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3336D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3336D2
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3336D2#FFFFFF#000000##FFFFFF
##3336D21.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D7
Deuteranopia (green-blind)
#0048CF
Tritanopia (blue-blind)
#006482
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3336d2;
/* rgb */ color: rgb(51, 54, 210);
/* oklch */ color: oklch(45.2% 0.230 271.7);
Tailwind
colors: {
  custom: {
    50: '#856fe1',
    500: '#3336d2',
    950: '#000000',
  },
}
SCSS
$custom: #3336d2;
$custom-light: #856fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#3336d2",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 210
  },
  "hsl": {
    "h": 238.868,
    "s": 63.855,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45226,
    "c": 0.22994,
    "h": 271.7
  },
  "luminance": 0.07995
}

Semantic roles & 50–950 ramp

primary
#3336D2
secondary
#D4D28D
accent
#E441E7
background
#F9F6FE
surface
#F1ECFC
border
#CBC7D5
text
#0D0715
muted
#7E7A84

Preview Lab

Preview with #3336D2

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

Preview Lab → · Contrast checker → · Palette generator →

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