#3336BC#3336BC

#3336BC is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.0% C 0.203 H 272.9°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#3336BC
RGBrgb(51, 54, 188)
HSLhsl(239, 57%, 47%)
HSVhsv(239, 73%, 74%)
CMYKcmyk(72.9%, 71.3%, 0%, 26.3%)
CIE-LABlab(31.74, 43.35, -70.21)
CIE-LCHlch(31.74, 82.51, 301.69°)
OKLaboklab(42.97% 0.0102 -0.2031)
OKLCHoklch(42.97% 0.203 272.9)
XYZxyz(11.7585, 6.9718, 48.2932)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3336BC #BCB933
analogous
#337BBC #3336BC #7533BC
triadic
#3336BC #BC3336 #36BC33
tetradic
#3336BC #BC337B #BCB933 #33BC75
square
#3336BC #BC337B #BCB933 #33BC75
split-complementary
#3336BC #BC7533 #7BBC33
monochromatic
#191A5C #26288C #3336BC #5A5DD2 #8A8CDF

Accessibility & contrast

On white

8.77
#3336BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3336BC
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3336BC#FFFFFF#000000##FFFFFF
##3336BC1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C0
Deuteranopia (green-blind)
#0044BA
Tritanopia (blue-blind)
#005C75
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3336bc;
/* rgb */ color: rgb(51, 54, 188);
/* oklch */ color: oklch(43.0% 0.203 272.9);
Tailwind
colors: {
  custom: {
    50: '#7f6ed1',
    500: '#3336bc',
    950: '#000000',
  },
}
SCSS
$custom: #3336bc;
$custom-light: #7f6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#3336bc",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 238.686,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.42974,
    "c": 0.20336,
    "h": 272.9
  },
  "luminance": 0.06973
}

Semantic roles & 50–950 ramp

primary
#3336BC
secondary
#C9C881
accent
#DD47E1
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3336BC

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

Preview Lab → · Contrast checker → · Palette generator →

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