#345CB8#345CB8

#345CB8 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.7% C 0.153 H 264.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#345CB8
RGBrgb(52, 92, 184)
HSLhsl(222, 56%, 46%)
HSVhsv(222, 72%, 72%)
CMYKcmyk(71.7%, 50%, 0%, 27.8%)
CIE-LABlab(40.97, 17.83, -52.82)
CIE-LCHlch(40.97, 55.75, 288.66°)
OKLaboklab(49.73% -0.016 -0.1517)
OKLCHoklch(49.73% 0.153 264)
XYZxyz(13.8920, 11.8436, 46.8920)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CB8 #B89034
analogous
#349EB8 #345CB8 #4E34B8
triadic
#345CB8 #B8345C #5CB834
tetradic
#345CB8 #B8349E #B89034 #34B84E
square
#345CB8 #B8349E #B89034 #34B84E
split-complementary
#345CB8 #B84E34 #9EB834
monochromatic
#192C59 #274488 #345CB8 #597DD0 #89A3DE

Accessibility & contrast

On white

6.23
#345CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#345CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345CB8
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CB8#FFFFFF#000000##FFFFFF
##345CB81.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2667BB
Deuteranopia (green-blind)
#005BB6
Tritanopia (blue-blind)
#007281
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #345cb8;
/* rgb */ color: rgb(52, 92, 184);
/* oklch */ color: oklch(49.7% 0.153 264.0);
Tailwind
colors: {
  custom: {
    50: '#7c89ce',
    500: '#345cb8',
    950: '#000000',
  },
}
SCSS
$custom: #345cb8;
$custom-light: #7c89ce;
$custom-dark: #000000;
JSON
{
  "hex": "#345cb8",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 184
  },
  "hsl": {
    "h": 221.818,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49729,
    "c": 0.15253,
    "h": 264
  },
  "luminance": 0.11845
}

Semantic roles & 50–950 ramp

primary
#345CB8
secondary
#C8B280
accent
#B249DF
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #345CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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