#3336AC#3336AC

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

Color values

HEX#3336AC
RGBrgb(51, 54, 172)
HSLhsl(239, 54%, 44%)
HSVhsv(239, 70%, 67%)
CMYKcmyk(70.3%, 68.6%, 0%, 32.5%)
CIE-LABlab(30.21, 37.89, -63.23)
CIE-LCHlch(30.21, 73.71, 300.93°)
OKLaboklab(41.4% 0.0124 -0.1827)
OKLCHoklch(41.4% 0.183 273.9)
XYZxyz(10.1283, 6.3197, 39.7078)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3336AC #ACA933
analogous
#3372AC #3336AC #6C33AC
triadic
#3336AC #AC3336 #36AC33
tetradic
#3336AC #AC3372 #ACA933 #33AC6C
square
#3336AC #AC3372 #ACA933 #33AC6C
split-complementary
#3336AC #AC6C33 #72AC33
monochromatic
#17184E #25277D #3336AC #5154CB #8082D9

Accessibility & contrast

On white

9.27
#3336AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3336AC
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3336AC#FFFFFF#000000##FFFFFF
##3336AC1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#0041AA
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3336ac;
/* rgb */ color: rgb(51, 54, 172);
/* oklch */ color: oklch(41.4% 0.183 273.9);
Tailwind
colors: {
  custom: {
    50: '#7c6ec6',
    500: '#3336ac',
    950: '#000000',
  },
}
SCSS
$custom: #3336ac;
$custom-light: #7c6ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#3336ac",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 238.512,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41402,
    "c": 0.18313,
    "h": 273.9
  },
  "luminance": 0.06321
}

Semantic roles & 50–950 ramp

primary
#3336AC
secondary
#C2C178
accent
#DA4ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3336AC

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

Preview Lab → · Contrast checker → · Palette generator →

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