#345BC7#345BC7

#345BC7 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.6% C 0.174 H 265.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#345BC7
RGBrgb(52, 91, 199)
HSLhsl(224, 59%, 49%)
HSVhsv(224, 74%, 78%)
CMYKcmyk(73.9%, 54.3%, 0%, 22%)
CIE-LABlab(41.74, 24.06, -60.29)
CIE-LCHlch(41.74, 64.91, 291.76°)
OKLaboklab(50.65% -0.0136 -0.1737)
OKLCHoklch(50.65% 0.174 265.5)
XYZxyz(15.4624, 12.3341, 55.5876)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345BC7 #C7A034
analogous
#34A5C7 #345BC7 #5734C7
triadic
#345BC7 #C7345B #5BC734
tetradic
#345BC7 #C734A5 #C7A034 #34C757
square
#345BC7 #C734A5 #C7A034 #34C757
split-complementary
#345BC7 #C75734 #A5C734
monochromatic
#1B2F66 #274596 #345BC7 #6281D6 #93A8E3

Accessibility & contrast

On white

6.06
#345BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#345BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345BC7
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345BC7#FFFFFF#000000##FFFFFF
##345BC71.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACB
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#007588
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #345bc7;
/* rgb */ color: rgb(52, 91, 199);
/* oklch */ color: oklch(50.6% 0.174 265.5);
Tailwind
colors: {
  custom: {
    50: '#7f88d9',
    500: '#345bc7',
    950: '#000000',
  },
}
SCSS
$custom: #345bc7;
$custom-light: #7f88d9;
$custom-dark: #000000;
JSON
{
  "hex": "#345bc7",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 199
  },
  "hsl": {
    "h": 224.082,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5065,
    "c": 0.17422,
    "h": 265.5
  },
  "luminance": 0.12336
}

Semantic roles & 50–950 ramp

primary
#345BC7
secondary
#CEBB89
accent
#B846E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #345BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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