#3337B2#3337B2

#3337B2 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.1% C 0.190 H 273.3°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#3337B2
RGBrgb(51, 55, 178)
HSLhsl(238, 55%, 45%)
HSVhsv(238, 71%, 70%)
CMYKcmyk(71.3%, 69.1%, 0%, 30.2%)
CIE-LABlab(31.00, 39.35, -65.51)
CIE-LCHlch(31.00, 76.42, 300.99°)
OKLaboklab(42.15% 0.011 -0.1894)
OKLCHoklch(42.15% 0.19 273.3)
XYZxyz(10.7646, 6.6495, 42.8270)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3337B2 #B2AE33
analogous
#3377B2 #3337B2 #6E33B2
triadic
#3337B2 #B23337 #37B233
tetradic
#3337B2 #B23377 #B2AE33 #33B26E
square
#3337B2 #B23377 #B2AE33 #33B26E
split-complementary
#3337B2 #B26E33 #77B233
monochromatic
#181A53 #252882 #3337B2 #5458CE #8486DC

Accessibility & contrast

On white

9.01
#3337B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3337B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3337B2
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3337B2#FFFFFF#000000##FFFFFF
##3337B21.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3337b2;
/* rgb */ color: rgb(51, 55, 178);
/* oklch */ color: oklch(42.1% 0.190 273.3);
Tailwind
colors: {
  custom: {
    50: '#7d6eca',
    500: '#3337b2',
    950: '#000000',
  },
}
SCSS
$custom: #3337b2;
$custom-light: #7d6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#3337b2",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 238.11,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42145,
    "c": 0.18971,
    "h": 273.3
  },
  "luminance": 0.06651
}

Semantic roles & 50–950 ramp

primary
#3337B2
secondary
#C5C37C
accent
#DA49DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3337B2

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

Preview Lab → · Contrast checker → · Palette generator →

#3337B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva