#3346B2#3346B2

#3346B2 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.8% C 0.172 H 270.2°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#3346B2
RGBrgb(51, 70, 178)
HSLhsl(231, 55%, 45%)
HSVhsv(231, 71%, 70%)
CMYKcmyk(71.3%, 60.7%, 0%, 30.2%)
CIE-LABlab(34.59, 29.85, -59.62)
CIE-LCHlch(34.59, 66.67, 296.60°)
OKLaboklab(44.78% 0.0007 -0.172)
OKLCHoklch(44.78% 0.172 270.2)
XYZxyz(11.5885, 8.2973, 43.1017)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3346B2 #B29F33
analogous
#3385B2 #3346B2 #6033B2
triadic
#3346B2 #B23346 #46B233
tetradic
#3346B2 #B23385 #B29F33 #33B260
square
#3346B2 #B23385 #B29F33 #33B260
split-complementary
#3346B2 #B26033 #85B233
monochromatic
#182153 #253382 #3346B2 #5466CE #8491DC

Accessibility & contrast

On white

7.90
#3346B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3346B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3346B2
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3346B2#FFFFFF#000000##FFFFFF
##3346B21.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3346b2;
/* rgb */ color: rgb(51, 70, 178);
/* oklch */ color: oklch(44.8% 0.172 270.2);
Tailwind
colors: {
  custom: {
    50: '#7c79ca',
    500: '#3346b2',
    950: '#000000',
  },
}
SCSS
$custom: #3346b2;
$custom-light: #7c79ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3346b2",
  "rgb": {
    "r": 51,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 231.024,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4478,
    "c": 0.17203,
    "h": 270.2
  },
  "luminance": 0.08298
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3346B2

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

Preview Lab → · Contrast checker → · Palette generator →

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