#3337BB#3337BB

#3337BB is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.0% C 0.201 H 272.8°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#3337BB
RGBrgb(51, 55, 187)
HSLhsl(238, 57%, 47%)
HSVhsv(238, 73%, 73%)
CMYKcmyk(72.7%, 70.6%, 0%, 26.7%)
CIE-LABlab(31.86, 42.42, -69.43)
CIE-LCHlch(31.86, 81.36, 301.43°)
OKLaboklab(43.03% 0.0098 -0.2008)
OKLCHoklch(43.03% 0.201 272.8)
XYZxyz(11.6981, 7.0229, 47.7431)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3337BB #BBB733
analogous
#337BBB #3337BB #7333BB
triadic
#3337BB #BB3337 #37BB33
tetradic
#3337BB #BB337B #BBB733 #33BB73
square
#3337BB #BB337B #BBB733 #33BB73
split-complementary
#3337BB #BB7333 #7BBB33
monochromatic
#191B5B #26298B #3337BB #595DD2 #898CDF

Accessibility & contrast

On white

8.73
#3337BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3337BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3337BB
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3337BB#FFFFFF#000000##FFFFFF
##3337BB1.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BF
Deuteranopia (green-blind)
#0044B9
Tritanopia (blue-blind)
#005C75
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3337bb;
/* rgb */ color: rgb(51, 55, 187);
/* oklch */ color: oklch(43.0% 0.201 272.8);
Tailwind
colors: {
  custom: {
    50: '#7f6fd1',
    500: '#3337bb',
    950: '#000000',
  },
}
SCSS
$custom: #3337bb;
$custom-light: #7f6fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3337bb",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 238.235,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43028,
    "c": 0.20106,
    "h": 272.8
  },
  "luminance": 0.07024
}

Semantic roles & 50–950 ramp

primary
#3337BB
secondary
#C9C781
accent
#DC47E0
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3337BB

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

Preview Lab → · Contrast checker → · Palette generator →

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