#3337B9#3337B9

#3337B9 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.8% C 0.199 H 272.9°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#3337B9
RGBrgb(51, 55, 185)
HSLhsl(238, 57%, 46%)
HSVhsv(238, 72%, 73%)
CMYKcmyk(72.4%, 70.3%, 0%, 27.5%)
CIE-LABlab(31.66, 41.74, -68.56)
CIE-LCHlch(31.66, 80.27, 301.33°)
OKLaboklab(42.83% 0.0101 -0.1983)
OKLCHoklch(42.83% 0.199 272.9)
XYZxyz(11.4854, 6.9378, 46.6234)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3337B9 #B9B533
analogous
#337AB9 #3337B9 #7233B9
triadic
#3337B9 #B93337 #37B933
tetradic
#3337B9 #B9337A #B9B533 #33B972
square
#3337B9 #B9337A #B9B533 #33B972
split-complementary
#3337B9 #B97233 #7AB933
monochromatic
#191A59 #262989 #3337B9 #585CD1 #888BDE

Accessibility & contrast

On white

8.79
#3337B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3337B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3337B9
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3337B9#FFFFFF#000000##FFFFFF
##3337B91.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3337b9;
/* rgb */ color: rgb(51, 55, 185);
/* oklch */ color: oklch(42.8% 0.199 272.9);
Tailwind
colors: {
  custom: {
    50: '#7f6fcf',
    500: '#3337b9',
    950: '#000000',
  },
}
SCSS
$custom: #3337b9;
$custom-light: #7f6fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3337b9",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 185
  },
  "hsl": {
    "h": 238.209,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4283,
    "c": 0.19857,
    "h": 272.9
  },
  "luminance": 0.06939
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3337B9

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

Preview Lab → · Contrast checker → · Palette generator →

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