#3337B1#3337B1

#3337B1 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.0% C 0.188 H 273.4°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#3337B1
RGBrgb(51, 55, 177)
HSLhsl(238, 55%, 45%)
HSVhsv(238, 71%, 69%)
CMYKcmyk(71.2%, 68.9%, 0%, 30.6%)
CIE-LABlab(30.90, 39.00, -65.07)
CIE-LCHlch(30.90, 75.86, 300.94°)
OKLaboklab(42.05% 0.0111 -0.1881)
OKLCHoklch(42.05% 0.188 273.4)
XYZxyz(10.6646, 6.6095, 42.3002)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3337B1 #B1AD33
analogous
#3376B1 #3337B1 #6E33B1
triadic
#3337B1 #B13337 #37B133
tetradic
#3337B1 #B13376 #B1AD33 #33B16E
square
#3337B1 #B13376 #B1AD33 #33B16E
split-complementary
#3337B1 #B16E33 #76B133
monochromatic
#181952 #252881 #3337B1 #5457CE #8386DB

Accessibility & contrast

On white

9.04
#3337B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3337B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3337B1
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3337B1#FFFFFF#000000##FFFFFF
##3337B11.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB5
Deuteranopia (green-blind)
#0043AF
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3337b1;
/* rgb */ color: rgb(51, 55, 177);
/* oklch */ color: oklch(42.0% 0.188 273.4);
Tailwind
colors: {
  custom: {
    50: '#7d6ec9',
    500: '#3337b1',
    950: '#000000',
  },
}
SCSS
$custom: #3337b1;
$custom-light: #7d6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#3337b1",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 177
  },
  "hsl": {
    "h": 238.095,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42048,
    "c": 0.18843,
    "h": 273.4
  },
  "luminance": 0.06611
}

Semantic roles & 50–950 ramp

primary
#3337B1
secondary
#C5C27B
accent
#DA49DF
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3337B1

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

Preview Lab → · Contrast checker → · Palette generator →

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