#3336B9#3336B9

#3336B9 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.7% C 0.200 H 273.1°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#3336B9
RGBrgb(51, 54, 185)
HSLhsl(239, 57%, 46%)
HSVhsv(239, 72%, 73%)
CMYKcmyk(72.4%, 70.8%, 0%, 27.5%)
CIE-LABlab(31.45, 42.34, -68.92)
CIE-LCHlch(31.45, 80.89, 301.56°)
OKLaboklab(42.68% 0.0107 -0.1993)
OKLCHoklch(42.68% 0.2 273.1)
XYZxyz(11.4384, 6.8438, 46.6077)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3336B9 #B9B633
analogous
#3379B9 #3336B9 #7333B9
triadic
#3336B9 #B93336 #36B933
tetradic
#3336B9 #B93379 #B9B633 #33B973
square
#3336B9 #B93379 #B9B633 #33B973
split-complementary
#3336B9 #B97333 #79B933
monochromatic
#191A59 #262889 #3336B9 #585BD1 #888ADE

Accessibility & contrast

On white

8.86
#3336B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3336B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3336B9
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3336B9#FFFFFF#000000##FFFFFF
##3336B91.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BD
Deuteranopia (green-blind)
#0044B7
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3336b9;
/* rgb */ color: rgb(51, 54, 185);
/* oklch */ color: oklch(42.7% 0.200 273.1);
Tailwind
colors: {
  custom: {
    50: '#7f6ecf',
    500: '#3336b9',
    950: '#000000',
  },
}
SCSS
$custom: #3336b9;
$custom-light: #7f6ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#3336b9",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 185
  },
  "hsl": {
    "h": 238.657,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.42675,
    "c": 0.19962,
    "h": 273.1
  },
  "luminance": 0.06845
}

Semantic roles & 50–950 ramp

primary
#3336B9
secondary
#C8C680
accent
#DD48E0
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3336B9

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

Preview Lab → · Contrast checker → · Palette generator →

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