#3339B0#3339B0

#3339B0 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.185 H 273.1°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#3339B0
RGBrgb(51, 57, 176)
HSLhsl(237, 55%, 45%)
HSVhsv(237, 71%, 69%)
CMYKcmyk(71%, 67.6%, 0%, 31%)
CIE-LABlab(31.26, 37.42, -63.88)
CIE-LCHlch(31.26, 74.04, 300.36°)
OKLaboklab(42.28% 0.01 -0.1846)
OKLCHoklch(42.28% 0.185 273.1)
XYZxyz(10.6622, 6.7636, 41.8095)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3339B0 #B0AA33
analogous
#3378B0 #3339B0 #6C33B0
triadic
#3339B0 #B03339 #39B033
tetradic
#3339B0 #B03378 #B0AA33 #33B06C
square
#3339B0 #B03378 #B0AA33 #33B06C
split-complementary
#3339B0 #B06C33 #78B033
monochromatic
#181A51 #252A81 #3339B0 #5359CD #8287DB

Accessibility & contrast

On white

8.92
#3339B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3339B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3339B0
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3339B0#FFFFFF#000000##FFFFFF
##3339B01.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3339b0;
/* rgb */ color: rgb(51, 57, 176);
/* oklch */ color: oklch(42.3% 0.185 273.1);
Tailwind
colors: {
  custom: {
    50: '#7c70c9',
    500: '#3339b0',
    950: '#000000',
  },
}
SCSS
$custom: #3339b0;
$custom-light: #7c70c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3339b0",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 176
  },
  "hsl": {
    "h": 237.12,
    "s": 55.066,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42281,
    "c": 0.18489,
    "h": 273.1
  },
  "luminance": 0.06765
}

Semantic roles & 50–950 ramp

primary
#3339B0
secondary
#C4C17B
accent
#D749DE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3339B0

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

Preview Lab → · Contrast checker → · Palette generator →

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