#3336BB#3336BB

#3336BB is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 42.9% C 0.202 H 272.9°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#3336BB
RGBrgb(51, 54, 187)
HSLhsl(239, 57%, 47%)
HSVhsv(239, 73%, 73%)
CMYKcmyk(72.7%, 71.1%, 0%, 26.7%)
CIE-LABlab(31.64, 43.01, -69.78)
CIE-LCHlch(31.64, 81.97, 301.65°)
OKLaboklab(42.87% 0.0104 -0.2018)
OKLCHoklch(42.87% 0.202 272.9)
XYZxyz(11.6510, 6.9288, 47.7274)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3336BB #BBB833
analogous
#337ABB #3336BB #7433BB
triadic
#3336BB #BB3336 #36BB33
tetradic
#3336BB #BB337A #BBB833 #33BB74
square
#3336BB #BB337A #BBB833 #33BB74
split-complementary
#3336BB #BB7433 #7ABB33
monochromatic
#191A5B #26288B #3336BB #595CD2 #898BDF

Accessibility & contrast

On white

8.80
#3336BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3336BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3336BB
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3336BB#FFFFFF#000000##FFFFFF
##3336BB1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BF
Deuteranopia (green-blind)
#0044B9
Tritanopia (blue-blind)
#005B75
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3336bb;
/* rgb */ color: rgb(51, 54, 187);
/* oklch */ color: oklch(42.9% 0.202 272.9);
Tailwind
colors: {
  custom: {
    50: '#7f6ed1',
    500: '#3336bb',
    950: '#000000',
  },
}
SCSS
$custom: #3336bb;
$custom-light: #7f6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#3336bb",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 238.676,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.42874,
    "c": 0.20212,
    "h": 272.9
  },
  "luminance": 0.0693
}

Semantic roles & 50–950 ramp

primary
#3336BB
secondary
#C9C781
accent
#DD47E0
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3336BB

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

Preview Lab → · Contrast checker → · Palette generator →

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