#3336B6#3336B6

#3336B6 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.4% C 0.196 H 273.2°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#3336B6
RGBrgb(51, 54, 182)
HSLhsl(239, 56%, 46%)
HSVhsv(239, 72%, 71%)
CMYKcmyk(72%, 70.3%, 0%, 28.6%)
CIE-LABlab(31.16, 41.32, -67.62)
CIE-LCHlch(31.16, 79.25, 301.43°)
OKLaboklab(42.38% 0.0111 -0.1956)
OKLCHoklch(42.38% 0.196 273.2)
XYZxyz(11.1251, 6.7184, 44.9574)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3336B6 #B6B333
analogous
#3377B6 #3336B6 #7133B6
triadic
#3336B6 #B63336 #36B633
tetradic
#3336B6 #B63377 #B6B333 #33B671
square
#3336B6 #B63377 #B6B333 #33B671
split-complementary
#3336B6 #B67133 #77B633
monochromatic
#181A56 #262886 #3336B6 #5659D0 #8688DD

Accessibility & contrast

On white

8.96
#3336B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3336B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3336B6
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3336B6#FFFFFF#000000##FFFFFF
##3336B61.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BA
Deuteranopia (green-blind)
#0043B4
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3336b6;
/* rgb */ color: rgb(51, 54, 182);
/* oklch */ color: oklch(42.4% 0.196 273.2);
Tailwind
colors: {
  custom: {
    50: '#7e6ecd',
    500: '#3336b6',
    950: '#000000',
  },
}
SCSS
$custom: #3336b6;
$custom-light: #7e6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#3336b6",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 182
  },
  "hsl": {
    "h": 238.626,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42377,
    "c": 0.19587,
    "h": 273.2
  },
  "luminance": 0.0672
}

Semantic roles & 50–950 ramp

primary
#3336B6
secondary
#C7C57E
accent
#DC48E0
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3336B6

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

Preview Lab → · Contrast checker → · Palette generator →

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