#345CB7#345CB7

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

Color values

HEX#345CB7
RGBrgb(52, 92, 183)
HSLhsl(222, 56%, 46%)
HSVhsv(222, 72%, 72%)
CMYKcmyk(71.6%, 49.7%, 0%, 28.2%)
CIE-LABlab(40.90, 17.46, -52.34)
CIE-LCHlch(40.90, 55.17, 288.45°)
OKLaboklab(49.66% -0.0161 -0.1503)
OKLCHoklch(49.66% 0.151 263.9)
XYZxyz(13.7875, 11.8018, 46.3419)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CB7 #B78F34
analogous
#349DB7 #345CB7 #4D34B7
triadic
#345CB7 #B7345C #5CB734
tetradic
#345CB7 #B7349D #B78F34 #34B74D
square
#345CB7 #B7349D #B78F34 #34B74D
split-complementary
#345CB7 #B74D34 #9DB734
monochromatic
#192C58 #264487 #345CB7 #597DD0 #88A2DD

Accessibility & contrast

On white

6.25
#345CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#345CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345CB7
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CB7#FFFFFF#000000##FFFFFF
##345CB71.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2867BA
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#007281
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #345cb7;
/* rgb */ color: rgb(52, 92, 183);
/* oklch */ color: oklch(49.7% 0.151 263.9);
Tailwind
colors: {
  custom: {
    50: '#7c89cd',
    500: '#345cb7',
    950: '#000000',
  },
}
SCSS
$custom: #345cb7;
$custom-light: #7c89cd;
$custom-dark: #000000;
JSON
{
  "hex": "#345cb7",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 183
  },
  "hsl": {
    "h": 221.679,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49656,
    "c": 0.15114,
    "h": 263.9
  },
  "luminance": 0.11803
}

Semantic roles & 50–950 ramp

primary
#345CB7
secondary
#C7B180
accent
#B149DF
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #345CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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