#3339AD#3339AD

#3339AD is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.0% C 0.181 H 273.3°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#3339AD
RGBrgb(51, 57, 173)
HSLhsl(237, 54%, 44%)
HSVhsv(237, 71%, 68%)
CMYKcmyk(70.5%, 67.1%, 0%, 32.2%)
CIE-LABlab(30.99, 36.38, -62.54)
CIE-LCHlch(30.99, 72.35, 300.18°)
OKLaboklab(42% 0.0103 -0.1807)
OKLCHoklch(42% 0.181 273.3)
XYZxyz(10.3687, 6.6462, 40.2635)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3339AD #ADA733
analogous
#3376AD #3339AD #6A33AD
triadic
#3339AD #AD3339 #39AD33
tetradic
#3339AD #AD3376 #ADA733 #33AD6A
square
#3339AD #AD3376 #ADA733 #33AD6A
split-complementary
#3339AD #AD6A33 #76AD33
monochromatic
#171A4E #25297E #3339AD #5157CC #8185DA

Accessibility & contrast

On white

9.02
#3339AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3339AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3339AD
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3339AD#FFFFFF#000000##FFFFFF
##3339AD1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#0043AB
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3339ad;
/* rgb */ color: rgb(51, 57, 173);
/* oklch */ color: oklch(42.0% 0.181 273.3);
Tailwind
colors: {
  custom: {
    50: '#7c70c6',
    500: '#3339ad',
    950: '#000000',
  },
}
SCSS
$custom: #3339ad;
$custom-light: #7c70c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3339ad",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 173
  },
  "hsl": {
    "h": 237.049,
    "s": 54.464,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41998,
    "c": 0.18099,
    "h": 273.3
  },
  "luminance": 0.06647
}

Semantic roles & 50–950 ramp

primary
#3339AD
secondary
#C3BF79
accent
#D74ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3339AD

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

Preview Lab → · Contrast checker → · Palette generator →

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