#3336B5#3336B5

#3336B5 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.3% C 0.195 H 273.3°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#3336B5
RGBrgb(51, 54, 181)
HSLhsl(239, 56%, 45%)
HSVhsv(239, 72%, 71%)
CMYKcmyk(71.8%, 70.2%, 0%, 29%)
CIE-LABlab(31.06, 40.98, -67.19)
CIE-LCHlch(31.06, 78.70, 301.38°)
OKLaboklab(42.28% 0.0112 -0.1943)
OKLCHoklch(42.28% 0.195 273.3)
XYZxyz(11.0221, 6.6772, 44.4151)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3336B5 #B5B233
analogous
#3377B5 #3336B5 #7133B5
triadic
#3336B5 #B53336 #36B533
tetradic
#3336B5 #B53377 #B5B233 #33B571
square
#3336B5 #B53377 #B5B233 #33B571
split-complementary
#3336B5 #B57133 #77B533
monochromatic
#181A56 #262885 #3336B5 #5659CF #8688DD

Accessibility & contrast

On white

8.99
#3336B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3336B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3336B5
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3336B5#FFFFFF#000000##FFFFFF
##3336B51.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3336b5;
/* rgb */ color: rgb(51, 54, 181);
/* oklch */ color: oklch(42.3% 0.195 273.3);
Tailwind
colors: {
  custom: {
    50: '#7e6ecc',
    500: '#3336b5',
    950: '#000000',
  },
}
SCSS
$custom: #3336b5;
$custom-light: #7e6ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#3336b5",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 181
  },
  "hsl": {
    "h": 238.615,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42279,
    "c": 0.19461,
    "h": 273.3
  },
  "luminance": 0.06678
}

Semantic roles & 50–950 ramp

primary
#3336B5
secondary
#C6C57D
accent
#DC48DF
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3336B5

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

Preview Lab → · Contrast checker → · Palette generator →

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