#3336D4#3336D4

#3336D4 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.4% C 0.232 H 271.6°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#3336D4
RGBrgb(51, 54, 212)
HSLhsl(239, 65%, 52%)
HSVhsv(239, 76%, 83%)
CMYKcmyk(75.9%, 74.5%, 0%, 16.9%)
CIE-LABlab(34.18, 51.27, -80.20)
CIE-LCHlch(34.18, 95.19, 302.59°)
OKLaboklab(45.43% 0.0064 -0.2322)
OKLCHoklch(45.43% 0.232 271.6)
XYZxyz(14.5641, 8.0940, 63.0693)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3336D4 #D4D133
analogous
#3387D4 #3336D4 #8133D4
triadic
#3336D4 #D43336 #36D433
tetradic
#3336D4 #D43387 #D4D133 #33D481
square
#3336D4 #D43387 #D4D133 #33D481
split-complementary
#3336D4 #D48133 #87D433
monochromatic
#181A74 #2326A7 #3336D4 #6668DF #989AE9

Accessibility & contrast

On white

8.02
#3336D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3336D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3336D4
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3336D4#FFFFFF#000000##FFFFFF
##3336D41.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D9
Deuteranopia (green-blind)
#0048D1
Tritanopia (blue-blind)
#006583
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3336d4;
/* rgb */ color: rgb(51, 54, 212);
/* oklch */ color: oklch(45.4% 0.232 271.6);
Tailwind
colors: {
  custom: {
    50: '#856fe3',
    500: '#3336d4',
    950: '#000000',
  },
}
SCSS
$custom: #3336d4;
$custom-light: #856fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#3336d4",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 212
  },
  "hsl": {
    "h": 238.882,
    "s": 65.182,
    "l": 51.569
  },
  "oklch": {
    "l": 0.45435,
    "c": 0.23229,
    "h": 271.6
  },
  "luminance": 0.08096
}

Semantic roles & 50–950 ramp

primary
#3336D4
secondary
#D5D38E
accent
#E540E8
background
#F9F6FE
surface
#F1ECFC
border
#CBC7D5
text
#0D0716
muted
#7E7A84

Preview Lab

Preview with #3336D4

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

Preview Lab → · Contrast checker → · Palette generator →

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