#3337B4#3337B4

#3337B4 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.3% C 0.192 H 273.2°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#3337B4
RGBrgb(51, 55, 180)
HSLhsl(238, 56%, 45%)
HSVhsv(238, 72%, 71%)
CMYKcmyk(71.7%, 69.4%, 0%, 29.4%)
CIE-LABlab(31.19, 40.03, -66.39)
CIE-LCHlch(31.19, 77.53, 301.09°)
OKLaboklab(42.34% 0.0108 -0.1919)
OKLCHoklch(42.34% 0.192 273.2)
XYZxyz(10.9669, 6.7304, 43.8923)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3337B4 #B4B033
analogous
#3377B4 #3337B4 #7033B4
triadic
#3337B4 #B43337 #37B433
tetradic
#3337B4 #B43377 #B4B033 #33B470
square
#3337B4 #B43377 #B4B033 #33B470
split-complementary
#3337B4 #B47033 #77B433
monochromatic
#181A55 #252884 #3337B4 #5559CF #8588DC

Accessibility & contrast

On white

8.95
#3337B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3337B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3337B4
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3337B4#FFFFFF#000000##FFFFFF
##3337B41.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#0043B2
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3337b4;
/* rgb */ color: rgb(51, 55, 180);
/* oklch */ color: oklch(42.3% 0.192 273.2);
Tailwind
colors: {
  custom: {
    50: '#7e6ecc',
    500: '#3337b4',
    950: '#000000',
  },
}
SCSS
$custom: #3337b4;
$custom-light: #7e6ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#3337b4",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 238.14,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42339,
    "c": 0.19225,
    "h": 273.2
  },
  "luminance": 0.06731
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3337B4

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

Preview Lab → · Contrast checker → · Palette generator →

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