#3336B4#3336B4

#3336B4 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.2% C 0.193 H 273.4°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#3336B4
RGBrgb(51, 54, 180)
HSLhsl(239, 56%, 45%)
HSVhsv(239, 72%, 71%)
CMYKcmyk(71.7%, 70%, 0%, 29.4%)
CIE-LABlab(30.96, 40.64, -66.75)
CIE-LCHlch(30.96, 78.15, 301.33°)
OKLaboklab(42.18% 0.0114 -0.193)
OKLCHoklch(42.18% 0.193 273.4)
XYZxyz(10.9199, 6.6364, 43.8766)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3336B4 #B4B133
analogous
#3376B4 #3336B4 #7133B4
triadic
#3336B4 #B43336 #36B433
tetradic
#3336B4 #B43376 #B4B133 #33B471
square
#3336B4 #B43376 #B4B133 #33B471
split-complementary
#3336B4 #B47133 #76B433
monochromatic
#181955 #252884 #3336B4 #5558CF #8587DC

Accessibility & contrast

On white

9.02
#3336B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3336B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3336B4
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3336B4#FFFFFF#000000##FFFFFF
##3336B41.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#0043B2
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3336b4;
/* rgb */ color: rgb(51, 54, 180);
/* oklch */ color: oklch(42.2% 0.193 273.4);
Tailwind
colors: {
  custom: {
    50: '#7e6ecc',
    500: '#3336b4',
    950: '#000000',
  },
}
SCSS
$custom: #3336b4;
$custom-light: #7e6ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#3336b4",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 180
  },
  "hsl": {
    "h": 238.605,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4218,
    "c": 0.19334,
    "h": 273.4
  },
  "luminance": 0.06637
}

Semantic roles & 50–950 ramp

primary
#3336B4
secondary
#C6C47D
accent
#DC49DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3336B4

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

Preview Lab → · Contrast checker → · Palette generator →

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