#3336B1#3336B1

#3336B1 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.9% C 0.190 H 273.6°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#3336B1
RGBrgb(51, 54, 177)
HSLhsl(239, 55%, 45%)
HSVhsv(239, 71%, 69%)
CMYKcmyk(71.2%, 69.5%, 0%, 30.6%)
CIE-LABlab(30.68, 39.61, -65.44)
CIE-LCHlch(30.68, 76.49, 301.19°)
OKLaboklab(41.89% 0.0118 -0.1892)
OKLCHoklch(41.89% 0.19 273.6)
XYZxyz(10.6176, 6.5154, 42.2845)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3336B1 #B1AE33
analogous
#3375B1 #3336B1 #6F33B1
triadic
#3336B1 #B13336 #36B133
tetradic
#3336B1 #B13375 #B1AE33 #33B16F
square
#3336B1 #B13375 #B1AE33 #33B16F
split-complementary
#3336B1 #B16F33 #75B133
monochromatic
#181952 #252881 #3336B1 #5456CE #8385DB

Accessibility & contrast

On white

9.12
#3336B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3336B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3336B1
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3336B1#FFFFFF#000000##FFFFFF
##3336B11.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB5
Deuteranopia (green-blind)
#0042AF
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3336b1;
/* rgb */ color: rgb(51, 54, 177);
/* oklch */ color: oklch(41.9% 0.190 273.6);
Tailwind
colors: {
  custom: {
    50: '#7d6ec9',
    500: '#3336b1',
    950: '#000000',
  },
}
SCSS
$custom: #3336b1;
$custom-light: #7d6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#3336b1",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 177
  },
  "hsl": {
    "h": 238.571,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41887,
    "c": 0.18954,
    "h": 273.6
  },
  "luminance": 0.06516
}

Semantic roles & 50–950 ramp

primary
#3336B1
secondary
#C5C37B
accent
#DB49DF
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3336B1

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

Preview Lab → · Contrast checker → · Palette generator →

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