#3347B5#3347B5

#3347B5 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.2% C 0.175 H 270.0°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#3347B5
RGBrgb(51, 71, 181)
HSLhsl(231, 56%, 45%)
HSVhsv(231, 72%, 71%)
CMYKcmyk(71.8%, 60.8%, 0%, 29%)
CIE-LABlab(35.09, 30.30, -60.58)
CIE-LCHlch(35.09, 67.73, 296.57°)
OKLaboklab(45.23% -0.0001 -0.1748)
OKLCHoklch(45.23% 0.175 270)
XYZxyz(11.9561, 8.5453, 44.7264)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3347B5 #B5A133
analogous
#3388B5 #3347B5 #6033B5
triadic
#3347B5 #B53347 #47B533
tetradic
#3347B5 #B53388 #B5A133 #33B560
square
#3347B5 #B53388 #B5A133 #33B560
split-complementary
#3347B5 #B56033 #88B533
monochromatic
#182256 #263485 #3347B5 #5669CF #8693DD

Accessibility & contrast

On white

7.75
#3347B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3347B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3347B5
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3347B5#FFFFFF#000000##FFFFFF
##3347B51.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3347b5;
/* rgb */ color: rgb(51, 71, 181);
/* oklch */ color: oklch(45.2% 0.175 270.0);
Tailwind
colors: {
  custom: {
    50: '#7c7acc',
    500: '#3347b5',
    950: '#000000',
  },
}
SCSS
$custom: #3347b5;
$custom-light: #7c7acc;
$custom-dark: #000000;
JSON
{
  "hex": "#3347b5",
  "rgb": {
    "r": 51,
    "g": 71,
    "b": 181
  },
  "hsl": {
    "h": 230.769,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45226,
    "c": 0.17485,
    "h": 270
  },
  "luminance": 0.08546
}

Semantic roles & 50–950 ramp

primary
#3347B5
secondary
#C6BB7D
accent
#C848DF
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3347B5

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

Preview Lab → · Contrast checker → · Palette generator →

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