#3337B0#3337B0

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

Color values

HEX#3337B0
RGBrgb(51, 55, 176)
HSLhsl(238, 55%, 45%)
HSVhsv(238, 71%, 69%)
CMYKcmyk(71%, 68.8%, 0%, 31%)
CIE-LABlab(30.81, 38.66, -64.63)
CIE-LCHlch(30.81, 75.31, 300.88°)
OKLaboklab(41.95% 0.0113 -0.1868)
OKLCHoklch(41.95% 0.187 273.4)
XYZxyz(10.5653, 6.5697, 41.7772)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3337B0 #B0AC33
analogous
#3376B0 #3337B0 #6E33B0
triadic
#3337B0 #B03337 #37B033
tetradic
#3337B0 #B03376 #B0AC33 #33B06E
square
#3337B0 #B03376 #B0AC33 #33B06E
split-complementary
#3337B0 #B06E33 #76B033
monochromatic
#181951 #252881 #3337B0 #5357CD #8285DB

Accessibility & contrast

On white

9.07
#3337B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3337B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3337B0
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3337B0#FFFFFF#000000##FFFFFF
##3337B01.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB4
Deuteranopia (green-blind)
#0043AE
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3337b0;
/* rgb */ color: rgb(51, 55, 176);
/* oklch */ color: oklch(42.0% 0.187 273.4);
Tailwind
colors: {
  custom: {
    50: '#7d6ec9',
    500: '#3337b0',
    950: '#000000',
  },
}
SCSS
$custom: #3337b0;
$custom-light: #7d6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#3337b0",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 176
  },
  "hsl": {
    "h": 238.08,
    "s": 55.066,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41951,
    "c": 0.18715,
    "h": 273.4
  },
  "luminance": 0.06571
}

Semantic roles & 50–950 ramp

primary
#3337B0
secondary
#C4C27B
accent
#DA49DE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3337B0

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

Preview Lab → · Contrast checker → · Palette generator →

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