#3347B4#3347B4

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

Color values

HEX#3347B4
RGBrgb(51, 71, 180)
HSLhsl(231, 56%, 45%)
HSVhsv(231, 72%, 71%)
CMYKcmyk(71.7%, 60.6%, 0%, 29.4%)
CIE-LABlab(35.01, 29.93, -60.12)
CIE-LCHlch(35.01, 67.16, 296.47°)
OKLaboklab(45.14% -0.0001 -0.1735)
OKLCHoklch(45.14% 0.174 270)
XYZxyz(11.8539, 8.5044, 44.1880)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3347B4 #B4A033
analogous
#3387B4 #3347B4 #6033B4
triadic
#3347B4 #B43347 #47B433
tetradic
#3347B4 #B43387 #B4A033 #33B460
square
#3347B4 #B43387 #B4A033 #33B460
split-complementary
#3347B4 #B46033 #87B433
monochromatic
#182155 #253484 #3347B4 #5568CF #8593DC

Accessibility & contrast

On white

7.77
#3347B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3347B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3347B4
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3347B4#FFFFFF#000000##FFFFFF
##3347B41.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3347b4;
/* rgb */ color: rgb(51, 71, 180);
/* oklch */ color: oklch(45.1% 0.173 270.0);
Tailwind
colors: {
  custom: {
    50: '#7c7acb',
    500: '#3347b4',
    950: '#000000',
  },
}
SCSS
$custom: #3347b4;
$custom-light: #7c7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3347b4",
  "rgb": {
    "r": 51,
    "g": 71,
    "b": 180
  },
  "hsl": {
    "h": 230.698,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4514,
    "c": 0.1735,
    "h": 270
  },
  "luminance": 0.08506
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3347B4

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

Preview Lab → · Contrast checker → · Palette generator →

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