#3337A6#3337A6

#3337A6 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.0% C 0.174 H 274.1°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#3337A6
RGBrgb(51, 55, 166)
HSLhsl(238, 53%, 43%)
HSVhsv(238, 69%, 65%)
CMYKcmyk(69.3%, 66.9%, 0%, 34.9%)
CIE-LABlab(29.88, 35.18, -60.15)
CIE-LCHlch(29.88, 69.68, 300.32°)
OKLaboklab(41% 0.0124 -0.1737)
OKLCHoklch(41% 0.174 274.1)
XYZxyz(9.6121, 6.1885, 36.7569)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3337A6 #A6A233
analogous
#3371A6 #3337A6 #6833A6
triadic
#3337A6 #A63337 #37A633
tetradic
#3337A6 #A63371 #A6A233 #33A668
square
#3337A6 #A63371 #A6A233 #33A668
split-complementary
#3337A6 #A66833 #71A633
monochromatic
#161848 #252777 #3337A6 #4E52C9 #7C80D7

Accessibility & contrast

On white

9.38
#3337A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3337A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3337A6
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3337A6#FFFFFF#000000##FFFFFF
##3337A61.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA9
Deuteranopia (green-blind)
#0041A4
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3337a6;
/* rgb */ color: rgb(51, 55, 166);
/* oklch */ color: oklch(41.0% 0.174 274.1);
Tailwind
colors: {
  custom: {
    50: '#7a6ec1',
    500: '#3337a6',
    950: '#000000',
  },
}
SCSS
$custom: #3337a6;
$custom-light: #7a6ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#3337a6",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 166
  },
  "hsl": {
    "h": 237.913,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41,
    "c": 0.17415,
    "h": 274.1
  },
  "luminance": 0.06189
}

Semantic roles & 50–950 ramp

primary
#3337A6
secondary
#C0BD75
accent
#D74BDC
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3337A6

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

Preview Lab → · Contrast checker → · Palette generator →

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