#3336A6#3336A6

#3336A6 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.8% C 0.175 H 274.3°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#3336A6
RGBrgb(51, 54, 166)
HSLhsl(238, 53%, 43%)
HSVhsv(238, 69%, 65%)
CMYKcmyk(69.3%, 67.5%, 0%, 34.9%)
CIE-LABlab(29.65, 35.81, -60.53)
CIE-LCHlch(29.65, 70.33, 300.60°)
OKLaboklab(40.83% 0.0131 -0.1748)
OKLCHoklch(40.83% 0.175 274.3)
XYZxyz(9.5651, 6.0944, 36.7413)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3336A6 #A6A333
analogous
#336FA6 #3336A6 #6A33A6
triadic
#3336A6 #A63336 #36A633
tetradic
#3336A6 #A6336F #A6A333 #33A66A
square
#3336A6 #A6336F #A6A333 #33A66A
split-complementary
#3336A6 #A66A33 #6FA633
monochromatic
#161848 #252777 #3336A6 #4E51C9 #7C7FD7

Accessibility & contrast

On white

9.46
#3336A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3336A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3336A6
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3336A6#FFFFFF#000000##FFFFFF
##3336A61.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA9
Deuteranopia (green-blind)
#0041A4
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3336a6;
/* rgb */ color: rgb(51, 54, 166);
/* oklch */ color: oklch(40.8% 0.175 274.3);
Tailwind
colors: {
  custom: {
    50: '#7a6dc1',
    500: '#3336a6',
    950: '#000000',
  },
}
SCSS
$custom: #3336a6;
$custom-light: #7a6dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3336a6",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 166
  },
  "hsl": {
    "h": 238.435,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4083,
    "c": 0.17532,
    "h": 274.3
  },
  "luminance": 0.06095
}

Semantic roles & 50–950 ramp

primary
#3336A6
secondary
#C0BE75
accent
#D94BDC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3336A6

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

Preview Lab → · Contrast checker → · Palette generator →

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