#345BC0#345BC0

#345BC0 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.1% C 0.165 H 265.0°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#345BC0
RGBrgb(52, 91, 192)
HSLhsl(223, 57%, 48%)
HSVhsv(223, 73%, 75%)
CMYKcmyk(72.9%, 52.6%, 0%, 24.7%)
CIE-LABlab(41.24, 21.46, -57.04)
CIE-LCHlch(41.24, 60.94, 290.62°)
OKLaboklab(50.11% -0.0142 -0.1641)
OKLCHoklch(50.11% 0.165 265)
XYZxyz(14.6683, 12.0164, 51.4053)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345BC0 #C09934
analogous
#34A1C0 #345BC0 #5334C0
triadic
#345BC0 #C0345B #5BC034
tetradic
#345BC0 #C034A1 #C09934 #34C053
square
#345BC0 #C034A1 #C09934 #34C053
split-complementary
#345BC0 #C05334 #A1C034
monochromatic
#1A2D60 #274490 #345BC0 #5E7FD3 #8EA5E0

Accessibility & contrast

On white

6.17
#345BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#345BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345BC0
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345BC0#FFFFFF#000000##FFFFFF
##345BC01.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1568C4
Deuteranopia (green-blind)
#005BBE
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #345bc0;
/* rgb */ color: rgb(52, 91, 192);
/* oklch */ color: oklch(50.1% 0.165 265.0);
Tailwind
colors: {
  custom: {
    50: '#7e88d4',
    500: '#345bc0',
    950: '#000000',
  },
}
SCSS
$custom: #345bc0;
$custom-light: #7e88d4;
$custom-dark: #000000;
JSON
{
  "hex": "#345bc0",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 192
  },
  "hsl": {
    "h": 223.286,
    "s": 57.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50114,
    "c": 0.16475,
    "h": 265
  },
  "luminance": 0.12018
}

Semantic roles & 50–950 ramp

primary
#345BC0
secondary
#CBB785
accent
#B647E1
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #345BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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