#3339AF#3339AF

#3339AF is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.2% C 0.184 H 273.1°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#3339AF
RGBrgb(51, 57, 175)
HSLhsl(237, 55%, 44%)
HSVhsv(237, 71%, 69%)
CMYKcmyk(70.9%, 67.4%, 0%, 31.4%)
CIE-LABlab(31.17, 37.07, -63.43)
CIE-LCHlch(31.17, 73.47, 300.30°)
OKLaboklab(42.19% 0.0101 -0.1833)
OKLCHoklch(42.19% 0.184 273.1)
XYZxyz(10.5636, 6.7242, 41.2903)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3339AF #AFA933
analogous
#3377AF #3339AF #6B33AF
triadic
#3339AF #AF3339 #39AF33
tetradic
#3339AF #AF3377 #AFA933 #33AF6B
square
#3339AF #AF3377 #AFA933 #33AF6B
split-complementary
#3339AF #AF6B33 #77AF33
monochromatic
#171A50 #252A80 #3339AF #5258CD #8286DB

Accessibility & contrast

On white

8.96
#3339AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3339AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3339AF
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3339AF#FFFFFF#000000##FFFFFF
##3339AF1.008.962.358.96
#FFFFFF8.961.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3339af;
/* rgb */ color: rgb(51, 57, 175);
/* oklch */ color: oklch(42.2% 0.184 273.1);
Tailwind
colors: {
  custom: {
    50: '#7c70c8',
    500: '#3339af',
    950: '#000000',
  },
}
SCSS
$custom: #3339af;
$custom-light: #7c70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3339af",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 237.097,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42187,
    "c": 0.18359,
    "h": 273.1
  },
  "luminance": 0.06725
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3339AF

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

Preview Lab → · Contrast checker → · Palette generator →

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