#3339C5#3339C5

#3339C5 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.3% C 0.211 H 272.0°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#3339C5
RGBrgb(51, 57, 197)
HSLhsl(238, 59%, 49%)
HSVhsv(238, 74%, 77%)
CMYKcmyk(74.1%, 71.1%, 0%, 22.7%)
CIE-LABlab(33.26, 44.63, -72.99)
CIE-LCHlch(33.26, 85.55, 301.44°)
OKLaboklab(44.33% 0.0074 -0.2112)
OKLCHoklch(44.33% 0.211 272)
XYZxyz(12.9030, 7.6599, 53.6110)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3339C5 #C5BF33
analogous
#3382C5 #3339C5 #7633C5
triadic
#3339C5 #C53339 #39C533
tetradic
#3339C5 #C53382 #C5BF33 #33C576
square
#3339C5 #C53382 #C5BF33 #33C576
split-complementary
#3339C5 #C57633 #82C533
monochromatic
#1A1D64 #262B94 #3339C5 #5F64D6 #9093E2

Accessibility & contrast

On white

8.29
#3339C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3339C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3339C5
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3339C5#FFFFFF#000000##FFFFFF
##3339C51.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#0047C2
Tritanopia (blue-blind)
#00607B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3339c5;
/* rgb */ color: rgb(51, 57, 197);
/* oklch */ color: oklch(44.3% 0.211 272.0);
Tailwind
colors: {
  custom: {
    50: '#8170d8',
    500: '#3339c5',
    950: '#000000',
  },
}
SCSS
$custom: #3339c5;
$custom-light: #8170d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3339c5",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 237.534,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44331,
    "c": 0.21135,
    "h": 272
  },
  "luminance": 0.07661
}

Semantic roles & 50–950 ramp

primary
#3339C5
secondary
#CDCA87
accent
#DC46E2
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3339C5

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

Preview Lab → · Contrast checker → · Palette generator →

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