#345BD7#345BD7

#345BD7 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.9% C 0.195 H 266.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#345BD7
RGBrgb(52, 91, 215)
HSLhsl(226, 67%, 52%)
HSVhsv(226, 76%, 84%)
CMYKcmyk(75.8%, 57.7%, 0%, 15.7%)
CIE-LABlab(42.94, 29.96, -67.55)
CIE-LCHlch(42.94, 73.90, 293.92°)
OKLaboklab(51.93% -0.0128 -0.195)
OKLCHoklch(51.93% 0.195 266.3)
XYZxyz(17.4187, 13.1166, 65.8905)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345BD7 #D7B034
analogous
#34ADD7 #345BD7 #5E34D7
triadic
#345BD7 #D7345B #5BD734
tetradic
#345BD7 #D734AD #D7B034 #34D75E
square
#345BD7 #D734AD #D7B034 #34D75E
split-complementary
#345BD7 #D75E34 #ADD734
monochromatic
#182F79 #2243AC #345BD7 #6784E1 #9AAEEB

Accessibility & contrast

On white

5.80
#345BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#345BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345BD7
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345BD7#FFFFFF#000000##FFFFFF
##345BD71.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#005ED5
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #345bd7;
/* rgb */ color: rgb(52, 91, 215);
/* oklch */ color: oklch(51.9% 0.195 266.3);
Tailwind
colors: {
  custom: {
    50: '#8388e4',
    500: '#345bd7',
    950: '#000000',
  },
}
SCSS
$custom: #345bd7;
$custom-light: #8388e4;
$custom-dark: #000000;
JSON
{
  "hex": "#345bd7",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 215
  },
  "hsl": {
    "h": 225.644,
    "s": 67.078,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51926,
    "c": 0.19545,
    "h": 266.3
  },
  "luminance": 0.13119
}

Semantic roles & 50–950 ramp

primary
#345BD7
secondary
#D7C690
accent
#C13EEA
background
#F8F8FE
surface
#F0EFFC
border
#CBCAD5
text
#0C0B16
muted
#7D7C84

Preview Lab

Preview with #345BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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