#3337B6#3337B6

#3337B6 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.5% C 0.195 H 273.1°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#3337B6
RGBrgb(51, 55, 182)
HSLhsl(238, 56%, 46%)
HSVhsv(238, 72%, 71%)
CMYKcmyk(72%, 69.8%, 0%, 28.6%)
CIE-LABlab(31.38, 40.72, -67.26)
CIE-LCHlch(31.38, 78.63, 301.19°)
OKLaboklab(42.54% 0.0105 -0.1945)
OKLCHoklch(42.54% 0.195 273.1)
XYZxyz(11.1721, 6.8125, 44.9731)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3337B6 #B6B233
analogous
#3378B6 #3337B6 #7033B6
triadic
#3337B6 #B63337 #37B633
tetradic
#3337B6 #B63378 #B6B233 #33B670
square
#3337B6 #B63378 #B6B233 #33B670
split-complementary
#3337B6 #B67033 #78B633
monochromatic
#181A56 #262986 #3337B6 #565AD0 #8689DD

Accessibility & contrast

On white

8.89
#3337B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3337B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3337B6
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3337B6#FFFFFF#000000##FFFFFF
##3337B61.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BA
Deuteranopia (green-blind)
#0044B4
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3337b6;
/* rgb */ color: rgb(51, 55, 182);
/* oklch */ color: oklch(42.5% 0.195 273.1);
Tailwind
colors: {
  custom: {
    50: '#7e6fcd',
    500: '#3337b6',
    950: '#000000',
  },
}
SCSS
$custom: #3337b6;
$custom-light: #7e6fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3337b6",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 182
  },
  "hsl": {
    "h": 238.168,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42535,
    "c": 0.19478,
    "h": 273.1
  },
  "luminance": 0.06814
}

Semantic roles & 50–950 ramp

primary
#3337B6
secondary
#C7C57E
accent
#DB48E0
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3337B6

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

Preview Lab → · Contrast checker → · Palette generator →

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