#3347B7#3347B7

#3347B7 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.4% C 0.178 H 270.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#3347B7
RGBrgb(51, 71, 183)
HSLhsl(231, 56%, 46%)
HSVhsv(231, 72%, 72%)
CMYKcmyk(72.1%, 61.2%, 0%, 28.2%)
CIE-LABlab(35.26, 31.02, -61.49)
CIE-LCHlch(35.26, 68.88, 296.77°)
OKLaboklab(45.4% -0.0001 -0.1775)
OKLCHoklch(45.4% 0.178 270)
XYZxyz(12.1628, 8.6279, 45.8149)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3347B7 #B7A333
analogous
#3389B7 #3347B7 #6133B7
triadic
#3347B7 #B73347 #47B733
tetradic
#3347B7 #B73389 #B7A333 #33B761
square
#3347B7 #B73389 #B7A333 #33B761
split-complementary
#3347B7 #B76133 #89B733
monochromatic
#182257 #263487 #3347B7 #5769D0 #8794DE

Accessibility & contrast

On white

7.70
#3347B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3347B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3347B7
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3347B7#FFFFFF#000000##FFFFFF
##3347B71.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#004DB5
Tritanopia (blue-blind)
#006378
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3347b7;
/* rgb */ color: rgb(51, 71, 183);
/* oklch */ color: oklch(45.4% 0.178 270.0);
Tailwind
colors: {
  custom: {
    50: '#7d7ace',
    500: '#3347b7',
    950: '#000000',
  },
}
SCSS
$custom: #3347b7;
$custom-light: #7d7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#3347b7",
  "rgb": {
    "r": 51,
    "g": 71,
    "b": 183
  },
  "hsl": {
    "h": 230.909,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45399,
    "c": 0.17753,
    "h": 270
  },
  "luminance": 0.08629
}

Semantic roles & 50–950 ramp

primary
#3347B7
secondary
#C7BC7F
accent
#C948E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3347B7

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

Preview Lab → · Contrast checker → · Palette generator →

#3347B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva