#345CD7#345CD7

#345CD7 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.1% C 0.194 H 266.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#345CD7
RGBrgb(52, 92, 215)
HSLhsl(225, 67%, 52%)
HSVhsv(225, 76%, 84%)
CMYKcmyk(75.8%, 57.2%, 0%, 15.7%)
CIE-LABlab(43.20, 29.32, -67.13)
CIE-LCHlch(43.20, 73.26, 293.60°)
OKLaboklab(52.12% -0.0134 -0.1938)
OKLCHoklch(52.12% 0.194 266)
XYZxyz(17.5048, 13.2887, 65.9192)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CD7 #D7AF34
analogous
#34AED7 #345CD7 #5E34D7
triadic
#345CD7 #D7345C #5CD734
tetradic
#345CD7 #D734AE #D7AF34 #34D75E
square
#345CD7 #D734AE #D7AF34 #34D75E
split-complementary
#345CD7 #D75E34 #AED734
monochromatic
#183079 #2244AC #345CD7 #6785E1 #9AAEEB

Accessibility & contrast

On white

5.74
#345CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#345CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345CD7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CD7#FFFFFF#000000##FFFFFF
##345CD71.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#005FD5
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #345cd7;
/* rgb */ color: rgb(52, 92, 215);
/* oklch */ color: oklch(52.1% 0.194 266.0);
Tailwind
colors: {
  custom: {
    50: '#8389e4',
    500: '#345cd7',
    950: '#000000',
  },
}
SCSS
$custom: #345cd7;
$custom-light: #8389e4;
$custom-dark: #000000;
JSON
{
  "hex": "#345cd7",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 225.276,
    "s": 67.078,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52118,
    "c": 0.19426,
    "h": 266
  },
  "luminance": 0.13291
}

Semantic roles & 50–950 ramp

primary
#345CD7
secondary
#D7C590
accent
#C03EEA
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0C0B16
muted
#7D7C84

Preview Lab

Preview with #345CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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