#3339B6#3339B6

#3339B6 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.9% C 0.193 H 272.8°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#3339B6
RGBrgb(51, 57, 182)
HSLhsl(237, 56%, 46%)
HSVhsv(237, 72%, 71%)
CMYKcmyk(72%, 68.7%, 0%, 28.6%)
CIE-LABlab(31.82, 39.51, -66.53)
CIE-LCHlch(31.82, 77.38, 300.70°)
OKLaboklab(42.86% 0.0093 -0.1924)
OKLCHoklch(42.86% 0.193 272.8)
XYZxyz(11.2690, 7.0063, 45.0054)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3339B6 #B6B033
analogous
#337AB6 #3339B6 #6E33B6
triadic
#3339B6 #B63339 #39B633
tetradic
#3339B6 #B6337A #B6B033 #33B66E
square
#3339B6 #B6337A #B6B033 #33B66E
split-complementary
#3339B6 #B66E33 #7AB633
monochromatic
#181B56 #262A86 #3339B6 #565CD0 #868ADD

Accessibility & contrast

On white

8.74
#3339B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3339B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3339B6
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3339B6#FFFFFF#000000##FFFFFF
##3339B61.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0045B4
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3339b6;
/* rgb */ color: rgb(51, 57, 182);
/* oklch */ color: oklch(42.9% 0.193 272.8);
Tailwind
colors: {
  custom: {
    50: '#7e70cd',
    500: '#3339b6',
    950: '#000000',
  },
}
SCSS
$custom: #3339b6;
$custom-light: #7e70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3339b6",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 182
  },
  "hsl": {
    "h": 237.252,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42856,
    "c": 0.1926,
    "h": 272.8
  },
  "luminance": 0.07007
}

Semantic roles & 50–950 ramp

primary
#3339B6
secondary
#C7C47E
accent
#D948E0
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3339B6

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

Preview Lab → · Contrast checker → · Palette generator →

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