#345BC8#345BC8

#345BC8 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.7% C 0.176 H 265.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#345BC8
RGBrgb(52, 91, 200)
HSLhsl(224, 59%, 49%)
HSVhsv(224, 74%, 78%)
CMYKcmyk(74%, 54.5%, 0%, 21.6%)
CIE-LABlab(41.81, 24.43, -60.75)
CIE-LCHlch(41.81, 65.48, 291.91°)
OKLaboklab(50.73% -0.0136 -0.175)
OKLCHoklch(50.73% 0.176 265.6)
XYZxyz(15.5789, 12.3807, 56.2010)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345BC8 #C8A134
analogous
#34A5C8 #345BC8 #5734C8
triadic
#345BC8 #C8345B #5BC834
tetradic
#345BC8 #C834A5 #C8A134 #34C857
square
#345BC8 #C834A5 #C8A134 #34C857
split-complementary
#345BC8 #C85734 #A5C834
monochromatic
#1B2F67 #274597 #345BC8 #6381D6 #93A8E3

Accessibility & contrast

On white

6.04
#345BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#345BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345BC8
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345BC8#FFFFFF#000000##FFFFFF
##345BC81.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#005CC6
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #345bc8;
/* rgb */ color: rgb(52, 91, 200);
/* oklch */ color: oklch(50.7% 0.176 265.6);
Tailwind
colors: {
  custom: {
    50: '#8088d9',
    500: '#345bc8',
    950: '#000000',
  },
}
SCSS
$custom: #345bc8;
$custom-light: #8088d9;
$custom-dark: #000000;
JSON
{
  "hex": "#345bc8",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 200
  },
  "hsl": {
    "h": 224.189,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50728,
    "c": 0.17558,
    "h": 265.6
  },
  "luminance": 0.12382
}

Semantic roles & 50–950 ramp

primary
#345BC8
secondary
#CEBC8A
accent
#B946E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #345BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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