#3336AB#3336AB

#3336AB is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.182 H 273.9°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#3336AB
RGBrgb(51, 54, 171)
HSLhsl(239, 54%, 44%)
HSVhsv(239, 70%, 67%)
CMYKcmyk(70.2%, 68.4%, 0%, 32.9%)
CIE-LABlab(30.11, 37.54, -62.78)
CIE-LCHlch(30.11, 73.15, 300.88°)
OKLaboklab(41.31% 0.0125 -0.1814)
OKLCHoklch(41.31% 0.182 273.9)
XYZxyz(10.0326, 6.2815, 39.2039)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3336AB #ABA833
analogous
#3372AB #3336AB #6C33AB
triadic
#3336AB #AB3336 #36AB33
tetradic
#3336AB #AB3372 #ABA833 #33AB6C
square
#3336AB #AB3372 #ABA833 #33AB6C
split-complementary
#3336AB #AB6C33 #72AB33
monochromatic
#17184D #25277C #3336AB #5053CB #7F82D9

Accessibility & contrast

On white

9.31
#3336AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3336AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3336AB
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3336AB#FFFFFF#000000##FFFFFF
##3336AB1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0041A9
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3336ab;
/* rgb */ color: rgb(51, 54, 171);
/* oklch */ color: oklch(41.3% 0.182 273.9);
Tailwind
colors: {
  custom: {
    50: '#7c6ec5',
    500: '#3336ab',
    950: '#000000',
  },
}
SCSS
$custom: #3336ab;
$custom-light: #7c6ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#3336ab",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 171
  },
  "hsl": {
    "h": 238.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41306,
    "c": 0.18184,
    "h": 273.9
  },
  "luminance": 0.06282
}

Semantic roles & 50–950 ramp

primary
#3336AB
secondary
#C2C078
accent
#DA4ADD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3336AB

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

Preview Lab → · Contrast checker → · Palette generator →

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