#3339B9#3339B9

#3339B9 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.1% C 0.196 H 272.6°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#3339B9
RGBrgb(51, 57, 185)
HSLhsl(237, 57%, 46%)
HSVhsv(237, 72%, 73%)
CMYKcmyk(72.4%, 69.2%, 0%, 27.5%)
CIE-LABlab(32.10, 40.54, -67.84)
CIE-LCHlch(32.10, 79.03, 300.86°)
OKLaboklab(43.15% 0.009 -0.1962)
OKLCHoklch(43.15% 0.196 272.6)
XYZxyz(11.5824, 7.1317, 46.6557)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3339B9 #B9B333
analogous
#337CB9 #3339B9 #7033B9
triadic
#3339B9 #B93339 #39B933
tetradic
#3339B9 #B9337C #B9B333 #33B970
square
#3339B9 #B9337C #B9B333 #33B970
split-complementary
#3339B9 #B97033 #7CB933
monochromatic
#191B59 #262A89 #3339B9 #585ED1 #888CDE

Accessibility & contrast

On white

8.65
#3339B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3339B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3339B9
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3339B9#FFFFFF#000000##FFFFFF
##3339B91.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BD
Deuteranopia (green-blind)
#0045B7
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3339b9;
/* rgb */ color: rgb(51, 57, 185);
/* oklch */ color: oklch(43.1% 0.196 272.6);
Tailwind
colors: {
  custom: {
    50: '#7e70cf',
    500: '#3339b9',
    950: '#000000',
  },
}
SCSS
$custom: #3339b9;
$custom-light: #7e70cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3339b9",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 237.313,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43147,
    "c": 0.19639,
    "h": 272.6
  },
  "luminance": 0.07133
}

Semantic roles & 50–950 ramp

primary
#3339B9
secondary
#C8C580
accent
#D948E0
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3339B9

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

Preview Lab → · Contrast checker → · Palette generator →

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