#3339BC#3339BC

#3339BC is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.4% C 0.200 H 272.5°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#3339BC
RGBrgb(51, 57, 188)
HSLhsl(237, 57%, 47%)
HSVhsv(237, 73%, 74%)
CMYKcmyk(72.9%, 69.7%, 0%, 26.3%)
CIE-LABlab(32.39, 41.57, -69.14)
CIE-LCHlch(32.39, 80.68, 301.01°)
OKLaboklab(43.44% 0.0086 -0.2)
OKLCHoklch(43.44% 0.2 272.5)
XYZxyz(11.9024, 7.2597, 48.3412)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3339BC #BCB633
analogous
#337EBC #3339BC #7233BC
triadic
#3339BC #BC3339 #39BC33
tetradic
#3339BC #BC337E #BCB633 #33BC72
square
#3339BC #BC337E #BCB633 #33BC72
split-complementary
#3339BC #BC7233 #7EBC33
monochromatic
#191C5C #262A8C #3339BC #5A5FD2 #8A8EDF

Accessibility & contrast

On white

8.56
#3339BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3339BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3339BC
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3339BC#FFFFFF#000000##FFFFFF
##3339BC1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#0046BA
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3339bc;
/* rgb */ color: rgb(51, 57, 188);
/* oklch */ color: oklch(43.4% 0.200 272.5);
Tailwind
colors: {
  custom: {
    50: '#7f70d1',
    500: '#3339bc',
    950: '#000000',
  },
}
SCSS
$custom: #3339bc;
$custom-light: #7f70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3339bc",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 237.372,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4344,
    "c": 0.20017,
    "h": 272.5
  },
  "luminance": 0.07261
}

Semantic roles & 50–950 ramp

primary
#3339BC
secondary
#C9C681
accent
#DA47E1
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3339BC

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

Preview Lab → · Contrast checker → · Palette generator →

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