#3337AD#3337AD

#3337AD is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.183 H 273.6°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#3337AD
RGBrgb(51, 55, 173)
HSLhsl(238, 54%, 44%)
HSVhsv(238, 71%, 68%)
CMYKcmyk(70.5%, 68.2%, 0%, 32.2%)
CIE-LABlab(30.53, 37.62, -63.30)
CIE-LCHlch(30.53, 73.63, 300.72°)
OKLaboklab(41.66% 0.0116 -0.1829)
OKLCHoklch(41.66% 0.183 273.6)
XYZxyz(10.2717, 6.4523, 40.2312)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3337AD #ADA933
analogous
#3374AD #3337AD #6C33AD
triadic
#3337AD #AD3337 #37AD33
tetradic
#3337AD #AD3374 #ADA933 #33AD6C
square
#3337AD #AD3374 #ADA933 #33AD6C
split-complementary
#3337AD #AD6C33 #74AD33
monochromatic
#17194E #25287E #3337AD #5155CC #8184DA

Accessibility & contrast

On white

9.17
#3337AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3337AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3337AD
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3337AD#FFFFFF#000000##FFFFFF
##3337AD1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#0042AB
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3337ad;
/* rgb */ color: rgb(51, 55, 173);
/* oklch */ color: oklch(41.7% 0.183 273.6);
Tailwind
colors: {
  custom: {
    50: '#7c6ec7',
    500: '#3337ad',
    950: '#000000',
  },
}
SCSS
$custom: #3337ad;
$custom-light: #7c6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#3337ad",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 173
  },
  "hsl": {
    "h": 238.033,
    "s": 54.464,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41663,
    "c": 0.18329,
    "h": 273.6
  },
  "luminance": 0.06453
}

Semantic roles & 50–950 ramp

primary
#3337AD
secondary
#C3C079
accent
#D94ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3337AD

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

Preview Lab → · Contrast checker → · Palette generator →

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