#3347B2#3347B2

#3347B2 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 45.0% C 0.171 H 270.0°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#3347B2
RGBrgb(51, 71, 178)
HSLhsl(231, 55%, 45%)
HSVhsv(231, 71%, 70%)
CMYKcmyk(71.3%, 60.1%, 0%, 30.2%)
CIE-LABlab(34.85, 29.20, -59.20)
CIE-LCHlch(34.85, 66.01, 296.25°)
OKLaboklab(44.97% -0.0001 -0.1708)
OKLCHoklch(44.97% 0.171 270)
XYZxyz(11.6516, 8.4235, 43.1227)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3347B2 #B29E33
analogous
#3387B2 #3347B2 #5E33B2
triadic
#3347B2 #B23347 #47B233
tetradic
#3347B2 #B23387 #B29E33 #33B25E
square
#3347B2 #B23387 #B29E33 #33B25E
split-complementary
#3347B2 #B25E33 #87B233
monochromatic
#182153 #253482 #3347B2 #5467CE #8492DC

Accessibility & contrast

On white

7.82
#3347B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3347B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3347B2
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3347B2#FFFFFF#000000##FFFFFF
##3347B21.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3347b2;
/* rgb */ color: rgb(51, 71, 178);
/* oklch */ color: oklch(45.0% 0.171 270.0);
Tailwind
colors: {
  custom: {
    50: '#7c7aca',
    500: '#3347b2',
    950: '#000000',
  },
}
SCSS
$custom: #3347b2;
$custom-light: #7c7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#3347b2",
  "rgb": {
    "r": 51,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 230.551,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44969,
    "c": 0.1708,
    "h": 270
  },
  "luminance": 0.08425
}

Semantic roles & 50–950 ramp

primary
#3347B2
secondary
#C5BA7C
accent
#C749DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3347B2

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

Preview Lab → · Contrast checker → · Palette generator →

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