#3339B4#3339B4

#3339B4 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.7% C 0.190 H 272.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#3339B4
RGBrgb(51, 57, 180)
HSLhsl(237, 56%, 45%)
HSVhsv(237, 72%, 71%)
CMYKcmyk(71.7%, 68.3%, 0%, 29.4%)
CIE-LABlab(31.63, 38.81, -65.65)
CIE-LCHlch(31.63, 76.27, 300.59°)
OKLaboklab(42.66% 0.0095 -0.1898)
OKLCHoklch(42.66% 0.19 272.9)
XYZxyz(11.0638, 6.9243, 43.9246)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3339B4 #B4AE33
analogous
#337AB4 #3339B4 #6D33B4
triadic
#3339B4 #B43339 #39B433
tetradic
#3339B4 #B4337A #B4AE33 #33B46D
square
#3339B4 #B4337A #B4AE33 #33B46D
split-complementary
#3339B4 #B46D33 #7AB433
monochromatic
#181B55 #252A84 #3339B4 #555BCF #8589DC

Accessibility & contrast

On white

8.81
#3339B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3339B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3339B4
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3339B4#FFFFFF#000000##FFFFFF
##3339B41.008.812.398.81
#FFFFFF8.811.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#0044B2
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3339b4;
/* rgb */ color: rgb(51, 57, 180);
/* oklch */ color: oklch(42.7% 0.190 272.9);
Tailwind
colors: {
  custom: {
    50: '#7d70cc',
    500: '#3339b4',
    950: '#000000',
  },
}
SCSS
$custom: #3339b4;
$custom-light: #7d70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3339b4",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 237.209,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42664,
    "c": 0.19004,
    "h": 272.9
  },
  "luminance": 0.06925
}

Semantic roles & 50–950 ramp

primary
#3339B4
secondary
#C6C37D
accent
#D849DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3339B4

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

Preview Lab → · Contrast checker → · Palette generator →

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