#3345B7#3345B7

#3345B7 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.0% C 0.180 H 270.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#3345B7
RGBrgb(51, 69, 183)
HSLhsl(232, 56%, 46%)
HSVhsv(232, 72%, 72%)
CMYKcmyk(72.1%, 62.3%, 0%, 28.2%)
CIE-LABlab(34.76, 32.31, -62.31)
CIE-LCHlch(34.76, 70.19, 297.41°)
OKLaboklab(45.03% 0.0013 -0.1799)
OKLCHoklch(45.03% 0.18 270.4)
XYZxyz(12.0377, 8.3777, 45.7732)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3345B7 #B7A533
analogous
#3387B7 #3345B7 #6333B7
triadic
#3345B7 #B73345 #45B733
tetradic
#3345B7 #B73387 #B7A533 #33B763
square
#3345B7 #B73387 #B7A533 #33B763
split-complementary
#3345B7 #B76333 #87B733
monochromatic
#182157 #263387 #3345B7 #5768D0 #8793DE

Accessibility & contrast

On white

7.85
#3345B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3345B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3345B7
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3345B7#FFFFFF#000000##FFFFFF
##3345B71.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3345b7;
/* rgb */ color: rgb(51, 69, 183);
/* oklch */ color: oklch(45.0% 0.180 270.4);
Tailwind
colors: {
  custom: {
    50: '#7d78ce',
    500: '#3345b7',
    950: '#000000',
  },
}
SCSS
$custom: #3345b7;
$custom-light: #7d78ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3345b7",
  "rgb": {
    "r": 51,
    "g": 69,
    "b": 183
  },
  "hsl": {
    "h": 231.818,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45029,
    "c": 0.17994,
    "h": 270.4
  },
  "luminance": 0.08379
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3345B7

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

Preview Lab → · Contrast checker → · Palette generator →

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