#3336B7#3336B7

#3336B7 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.5% C 0.197 H 273.2°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#3336B7
RGBrgb(51, 54, 183)
HSLhsl(239, 56%, 46%)
HSVhsv(239, 72%, 72%)
CMYKcmyk(72.1%, 70.5%, 0%, 28.2%)
CIE-LABlab(31.25, 41.66, -68.06)
CIE-LCHlch(31.25, 79.79, 301.47°)
OKLaboklab(42.48% 0.011 -0.1968)
OKLCHoklch(42.48% 0.197 273.2)
XYZxyz(11.2288, 6.7599, 45.5036)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3336B7 #B7B433
analogous
#3378B7 #3336B7 #7233B7
triadic
#3336B7 #B73336 #36B733
tetradic
#3336B7 #B73378 #B7B433 #33B772
square
#3336B7 #B73378 #B7B433 #33B772
split-complementary
#3336B7 #B77233 #78B733
monochromatic
#181A57 #262887 #3336B7 #575AD0 #8789DE

Accessibility & contrast

On white

8.93
#3336B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3336B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3336B7
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3336B7#FFFFFF#000000##FFFFFF
##3336B71.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BB
Deuteranopia (green-blind)
#0043B5
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3336b7;
/* rgb */ color: rgb(51, 54, 183);
/* oklch */ color: oklch(42.5% 0.197 273.2);
Tailwind
colors: {
  custom: {
    50: '#7e6ece',
    500: '#3336b7',
    950: '#000000',
  },
}
SCSS
$custom: #3336b7;
$custom-light: #7e6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#3336b7",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 183
  },
  "hsl": {
    "h": 238.636,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42476,
    "c": 0.19712,
    "h": 273.2
  },
  "luminance": 0.06761
}

Semantic roles & 50–950 ramp

primary
#3336B7
secondary
#C7C67F
accent
#DC48E0
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3336B7

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

Preview Lab → · Contrast checker → · Palette generator →

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