#3336AE#3336AE

#3336AE is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.6% C 0.186 H 273.7°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#3336AE
RGBrgb(51, 54, 174)
HSLhsl(239, 55%, 44%)
HSVhsv(239, 71%, 68%)
CMYKcmyk(70.7%, 69%, 0%, 31.8%)
CIE-LABlab(30.39, 38.58, -64.11)
CIE-LCHlch(30.39, 74.83, 301.04°)
OKLaboklab(41.6% 0.0121 -0.1853)
OKLCHoklch(41.6% 0.186 273.7)
XYZxyz(10.3218, 6.3971, 40.7270)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3336AE #AEAB33
analogous
#3374AE #3336AE #6E33AE
triadic
#3336AE #AE3336 #36AE33
tetradic
#3336AE #AE3374 #AEAB33 #33AE6E
square
#3336AE #AE3374 #AEAB33 #33AE6E
split-complementary
#3336AE #AE6E33 #74AE33
monochromatic
#17194F #25277F #3336AE #5255CC #8183DA

Accessibility & contrast

On white

9.21
#3336AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3336AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3336AE
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3336AE#FFFFFF#000000##FFFFFF
##3336AE1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3336ae;
/* rgb */ color: rgb(51, 54, 174);
/* oklch */ color: oklch(41.6% 0.186 273.7);
Tailwind
colors: {
  custom: {
    50: '#7c6ec7',
    500: '#3336ae',
    950: '#000000',
  },
}
SCSS
$custom: #3336ae;
$custom-light: #7c6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#3336ae",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 174
  },
  "hsl": {
    "h": 238.537,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41595,
    "c": 0.18571,
    "h": 273.7
  },
  "luminance": 0.06398
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3336AE

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

Preview Lab → · Contrast checker → · Palette generator →

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