#3339AE#3339AE

#3339AE is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.1% C 0.182 H 273.2°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#3339AE
RGBrgb(51, 57, 174)
HSLhsl(237, 55%, 44%)
HSVhsv(237, 71%, 68%)
CMYKcmyk(70.7%, 67.2%, 0%, 31.8%)
CIE-LABlab(31.08, 36.73, -62.99)
CIE-LCHlch(31.08, 72.91, 300.25°)
OKLaboklab(42.09% 0.0102 -0.182)
OKLCHoklch(42.09% 0.182 273.2)
XYZxyz(10.4658, 6.6850, 40.7750)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3339AE #AEA833
analogous
#3377AE #3339AE #6B33AE
triadic
#3339AE #AE3339 #39AE33
tetradic
#3339AE #AE3377 #AEA833 #33AE6B
square
#3339AE #AE3377 #AEA833 #33AE6B
split-complementary
#3339AE #AE6B33 #77AE33
monochromatic
#171A4F #25297F #3339AE #5258CC #8186DA

Accessibility & contrast

On white

8.99
#3339AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3339AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3339AE
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3339AE#FFFFFF#000000##FFFFFF
##3339AE1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3339ae;
/* rgb */ color: rgb(51, 57, 174);
/* oklch */ color: oklch(42.1% 0.182 273.2);
Tailwind
colors: {
  custom: {
    50: '#7c70c7',
    500: '#3339ae',
    950: '#000000',
  },
}
SCSS
$custom: #3339ae;
$custom-light: #7c70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3339ae",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 237.073,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42092,
    "c": 0.18229,
    "h": 273.2
  },
  "luminance": 0.06686
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3339AE

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

Preview Lab → · Contrast checker → · Palette generator →

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