#3337D2#3337D2

#3337D2 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.4% C 0.229 H 271.6°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#3337D2
RGBrgb(51, 55, 210)
HSLhsl(238, 64%, 51%)
HSVhsv(238, 76%, 82%)
CMYKcmyk(75.7%, 73.8%, 0%, 17.6%)
CIE-LABlab(34.17, 50.08, -79.07)
CIE-LCHlch(34.17, 93.59, 302.35°)
OKLaboklab(45.36% 0.0063 -0.2289)
OKLCHoklch(45.36% 0.229 271.6)
XYZxyz(14.3604, 8.0878, 61.7645)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3337D2 #D2CE33
analogous
#3386D2 #3337D2 #7E33D2
triadic
#3337D2 #D23337 #37D233
tetradic
#3337D2 #D23386 #D2CE33 #33D27E
square
#3337D2 #D23386 #D2CE33 #33D27E
split-complementary
#3337D2 #D27E33 #86D233
monochromatic
#191B72 #2427A4 #3337D2 #6568DD #9799E8

Accessibility & contrast

On white

8.02
#3337D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3337D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3337D2
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3337D2#FFFFFF#000000##FFFFFF
##3337D21.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D7
Deuteranopia (green-blind)
#0048CF
Tritanopia (blue-blind)
#006482
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3337d2;
/* rgb */ color: rgb(51, 55, 210);
/* oklch */ color: oklch(45.4% 0.229 271.6);
Tailwind
colors: {
  custom: {
    50: '#8470e1',
    500: '#3337d2',
    950: '#000000',
  },
}
SCSS
$custom: #3337d2;
$custom-light: #8470e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3337d2",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 210
  },
  "hsl": {
    "h": 238.491,
    "s": 63.855,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45364,
    "c": 0.229,
    "h": 271.6
  },
  "luminance": 0.08089
}

Semantic roles & 50–950 ramp

primary
#3337D2
secondary
#D4D28D
accent
#E341E7
background
#F9F6FE
surface
#F1ECFC
border
#CBC7D5
text
#0D0715
muted
#7E7A84

Preview Lab

Preview with #3337D2

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

Preview Lab → · Contrast checker → · Palette generator →

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