#3339BA#3339BA

#3339BA is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.2% C 0.198 H 272.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#3339BA
RGBrgb(51, 57, 186)
HSLhsl(237, 57%, 46%)
HSVhsv(237, 73%, 73%)
CMYKcmyk(72.6%, 69.4%, 0%, 27.1%)
CIE-LABlab(32.20, 40.88, -68.28)
CIE-LCHlch(32.20, 79.58, 300.91°)
OKLaboklab(43.24% 0.0088 -0.1975)
OKLCHoklch(43.24% 0.198 272.6)
XYZxyz(11.6883, 7.1741, 47.2136)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3339BA #BAB433
analogous
#337DBA #3339BA #7133BA
triadic
#3339BA #BA3339 #39BA33
tetradic
#3339BA #BA337D #BAB433 #33BA71
square
#3339BA #BA337D #BAB433 #33BA71
split-complementary
#3339BA #BA7133 #7DBA33
monochromatic
#191C5A #262A8A #3339BA #595ED1 #898DDF

Accessibility & contrast

On white

8.62
#3339BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3339BA
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3339BA#FFFFFF#000000##FFFFFF
##3339BA1.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BE
Deuteranopia (green-blind)
#0045B8
Tritanopia (blue-blind)
#005C75
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3339ba;
/* rgb */ color: rgb(51, 57, 186);
/* oklch */ color: oklch(43.2% 0.198 272.6);
Tailwind
colors: {
  custom: {
    50: '#7f70d0',
    500: '#3339ba',
    950: '#000000',
  },
}
SCSS
$custom: #3339ba;
$custom-light: #7f70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3339ba",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 237.333,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43244,
    "c": 0.19766,
    "h": 272.6
  },
  "luminance": 0.07175
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3339BA

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

Preview Lab → · Contrast checker → · Palette generator →

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