#3345B6#3345B6

#3345B6 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.9% C 0.179 H 270.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#3345B6
RGBrgb(51, 69, 182)
HSLhsl(232, 56%, 46%)
HSVhsv(232, 72%, 71%)
CMYKcmyk(72%, 62.1%, 0%, 28.6%)
CIE-LABlab(34.67, 31.95, -61.86)
CIE-LCHlch(34.67, 69.62, 297.32°)
OKLaboklab(44.94% 0.0014 -0.1786)
OKLCHoklch(44.94% 0.179 270.4)
XYZxyz(11.9340, 8.3362, 45.2270)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3345B6 #B6A433
analogous
#3386B6 #3345B6 #6333B6
triadic
#3345B6 #B63345 #45B633
tetradic
#3345B6 #B63386 #B6A433 #33B663
square
#3345B6 #B63386 #B6A433 #33B663
split-complementary
#3345B6 #B66333 #86B633
monochromatic
#182156 #263386 #3345B6 #5667D0 #8692DD

Accessibility & contrast

On white

7.87
#3345B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3345B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3345B6
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3345B6#FFFFFF#000000##FFFFFF
##3345B61.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#004CB4
Tritanopia (blue-blind)
#006277
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3345b6;
/* rgb */ color: rgb(51, 69, 182);
/* oklch */ color: oklch(44.9% 0.179 270.4);
Tailwind
colors: {
  custom: {
    50: '#7d78cd',
    500: '#3345b6',
    950: '#000000',
  },
}
SCSS
$custom: #3345b6;
$custom-light: #7d78cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3345b6",
  "rgb": {
    "r": 51,
    "g": 69,
    "b": 182
  },
  "hsl": {
    "h": 231.756,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44941,
    "c": 0.17862,
    "h": 270.4
  },
  "luminance": 0.08337
}

Semantic roles & 50–950 ramp

primary
#3345B6
secondary
#C7BD7E
accent
#CB48E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3345B6

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

Preview Lab → · Contrast checker → · Palette generator →

#3345B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva