#345BD6#345BD6

#345BD6 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.8% C 0.194 H 266.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#345BD6
RGBrgb(52, 91, 214)
HSLhsl(226, 66%, 52%)
HSVhsv(226, 76%, 84%)
CMYKcmyk(75.7%, 57.5%, 0%, 16.1%)
CIE-LABlab(42.86, 29.60, -67.10)
CIE-LCHlch(42.86, 73.34, 293.80°)
OKLaboklab(51.84% -0.0128 -0.1937)
OKLCHoklch(51.84% 0.194 266.2)
XYZxyz(17.2906, 13.0653, 65.2159)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345BD6 #D6AF34
analogous
#34ACD6 #345BD6 #5E34D6
triadic
#345BD6 #D6345B #5BD634
tetradic
#345BD6 #D634AC #D6AF34 #34D65E
square
#345BD6 #D634AC #D6AF34 #34D65E
split-complementary
#345BD6 #D65E34 #ACD634
monochromatic
#182F77 #2243AA #345BD6 #6784E0 #9AADEB

Accessibility & contrast

On white

5.81
#345BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#345BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345BD6
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345BD6#FFFFFF#000000##FFFFFF
##345BD61.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #345bd6;
/* rgb */ color: rgb(52, 91, 214);
/* oklch */ color: oklch(51.8% 0.194 266.2);
Tailwind
colors: {
  custom: {
    50: '#8388e4',
    500: '#345bd6',
    950: '#000000',
  },
}
SCSS
$custom: #345bd6;
$custom-light: #8388e4;
$custom-dark: #000000;
JSON
{
  "hex": "#345bd6",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 214
  },
  "hsl": {
    "h": 225.556,
    "s": 66.393,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51844,
    "c": 0.19414,
    "h": 266.2
  },
  "luminance": 0.13067
}

Semantic roles & 50–950 ramp

primary
#345BD6
secondary
#D6C590
accent
#C03EE9
background
#F8F8FE
surface
#F0EFFC
border
#CBCAD5
text
#0C0B16
muted
#7D7C84

Preview Lab

Preview with #345BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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