#3336B2#3336B2

#3336B2 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.0% C 0.191 H 273.5°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#3336B2
RGBrgb(51, 54, 178)
HSLhsl(239, 55%, 45%)
HSVhsv(239, 71%, 70%)
CMYKcmyk(71.3%, 69.7%, 0%, 30.2%)
CIE-LABlab(30.77, 39.95, -65.88)
CIE-LCHlch(30.77, 77.05, 301.24°)
OKLaboklab(41.98% 0.0116 -0.1905)
OKLCHoklch(41.98% 0.191 273.5)
XYZxyz(10.7176, 6.5554, 42.8113)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3336B2 #B2AF33
analogous
#3375B2 #3336B2 #7033B2
triadic
#3336B2 #B23336 #36B233
tetradic
#3336B2 #B23375 #B2AF33 #33B270
square
#3336B2 #B23375 #B2AF33 #33B270
split-complementary
#3336B2 #B27033 #75B233
monochromatic
#181953 #252882 #3336B2 #5457CE #8486DC

Accessibility & contrast

On white

9.09
#3336B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3336B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3336B2
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3336B2#FFFFFF#000000##FFFFFF
##3336B21.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0042B0
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3336b2;
/* rgb */ color: rgb(51, 54, 178);
/* oklch */ color: oklch(42.0% 0.191 273.5);
Tailwind
colors: {
  custom: {
    50: '#7d6eca',
    500: '#3336b2',
    950: '#000000',
  },
}
SCSS
$custom: #3336b2;
$custom-light: #7d6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#3336b2",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 238.583,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41984,
    "c": 0.19081,
    "h": 273.5
  },
  "luminance": 0.06556
}

Semantic roles & 50–950 ramp

primary
#3336B2
secondary
#C5C37C
accent
#DB49DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3336B2

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

Preview Lab → · Contrast checker → · Palette generator →

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