#345BB7#345BB7

#345BB7 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.4% C 0.152 H 264.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#345BB7
RGBrgb(52, 91, 183)
HSLhsl(222, 56%, 46%)
HSVhsv(222, 72%, 72%)
CMYKcmyk(71.6%, 50.3%, 0%, 28.2%)
CIE-LABlab(40.62, 18.11, -52.79)
CIE-LCHlch(40.62, 55.81, 288.94°)
OKLaboklab(49.44% -0.0152 -0.1516)
OKLCHoklch(49.44% 0.152 264.3)
XYZxyz(13.7015, 11.6297, 46.3132)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345BB7 #B79034
analogous
#349CB7 #345BB7 #4E34B7
triadic
#345BB7 #B7345B #5BB734
tetradic
#345BB7 #B7349C #B79034 #34B74E
square
#345BB7 #B7349C #B79034 #34B74E
split-complementary
#345BB7 #B74E34 #9CB734
monochromatic
#192C58 #264387 #345BB7 #597CD0 #88A1DD

Accessibility & contrast

On white

6.31
#345BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#345BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345BB7
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345BB7#FFFFFF#000000##FFFFFF
##345BB71.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2566BA
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#007180
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #345bb7;
/* rgb */ color: rgb(52, 91, 183);
/* oklch */ color: oklch(49.4% 0.152 264.3);
Tailwind
colors: {
  custom: {
    50: '#7c88cd',
    500: '#345bb7',
    950: '#000000',
  },
}
SCSS
$custom: #345bb7;
$custom-light: #7c88cd;
$custom-dark: #000000;
JSON
{
  "hex": "#345bb7",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 183
  },
  "hsl": {
    "h": 222.137,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49444,
    "c": 0.15238,
    "h": 264.3
  },
  "luminance": 0.11631
}

Semantic roles & 50–950 ramp

primary
#345BB7
secondary
#C7B280
accent
#B249DF
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #345BB7

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

Preview Lab → · Contrast checker → · Palette generator →

#345BB7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva