#3347A2#3347A2

#3347A2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.149 H 269.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#3347A2
RGBrgb(51, 71, 162)
HSLhsl(229, 52%, 42%)
HSVhsv(229, 69%, 64%)
CMYKcmyk(68.5%, 56.2%, 0%, 36.5%)
CIE-LABlab(33.60, 23.32, -51.68)
CIE-LCHlch(33.60, 56.70, 294.29°)
OKLaboklab(43.65% -0.0004 -0.1487)
OKLCHoklch(43.65% 0.149 269.8)
XYZxyz(10.1378, 7.8180, 35.1502)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3347A2 #A28E33
analogous
#337FA2 #3347A2 #5733A2
triadic
#3347A2 #A23347 #47A233
tetradic
#3347A2 #A2337F #A28E33 #33A257
square
#3347A2 #A2337F #A28E33 #33A257
split-complementary
#3347A2 #A25733 #7FA233
monochromatic
#161E45 #243373 #3347A2 #4C62C7 #7A8BD5

Accessibility & contrast

On white

8.19
#3347A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3347A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3347A2
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3347A2#FFFFFF#000000##FFFFFF
##3347A21.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3347a2;
/* rgb */ color: rgb(51, 71, 162);
/* oklch */ color: oklch(43.6% 0.149 269.8);
Tailwind
colors: {
  custom: {
    50: '#7879be',
    500: '#3347a2',
    950: '#000000',
  },
}
SCSS
$custom: #3347a2;
$custom-light: #7879be;
$custom-dark: #000000;
JSON
{
  "hex": "#3347a2",
  "rgb": {
    "r": 51,
    "g": 71,
    "b": 162
  },
  "hsl": {
    "h": 229.189,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43645,
    "c": 0.14869,
    "h": 269.8
  },
  "luminance": 0.07819
}

Semantic roles & 50–950 ramp

primary
#3347A2
secondary
#BEB073
accent
#C24CDC
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3347A2

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

Preview Lab → · Contrast checker → · Palette generator →

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