#345FD6#345FD6

#345FD6 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.6% C 0.189 H 265.3°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#345FD6
RGBrgb(52, 95, 214)
HSLhsl(224, 66%, 52%)
HSVhsv(224, 76%, 84%)
CMYKcmyk(75.7%, 55.6%, 0%, 16.1%)
CIE-LABlab(43.90, 27.03, -65.42)
CIE-LCHlch(43.90, 70.78, 292.45°)
OKLaboklab(52.62% -0.0156 -0.1887)
OKLCHoklch(52.62% 0.189 265.3)
XYZxyz(17.6417, 13.7675, 65.3329)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345FD6 #D6AB34
analogous
#34B0D6 #345FD6 #5A34D6
triadic
#345FD6 #D6345F #5FD634
tetradic
#345FD6 #D634B0 #D6AB34 #34D65A
square
#345FD6 #D634B0 #D6AB34 #34D65A
split-complementary
#345FD6 #D65A34 #B0D634
monochromatic
#183177 #2247AA #345FD6 #6787E0 #9AAFEB

Accessibility & contrast

On white

5.59
#345FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#345FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345FD6
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345FD6#FFFFFF#000000##FFFFFF
##345FD61.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DA
Deuteranopia (green-blind)
#0061D4
Tritanopia (blue-blind)
#007C91
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #345fd6;
/* rgb */ color: rgb(52, 95, 214);
/* oklch */ color: oklch(52.6% 0.189 265.3);
Tailwind
colors: {
  custom: {
    50: '#838be3',
    500: '#345fd6',
    950: '#000000',
  },
}
SCSS
$custom: #345fd6;
$custom-light: #838be3;
$custom-dark: #000000;
JSON
{
  "hex": "#345fd6",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 214
  },
  "hsl": {
    "h": 224.074,
    "s": 66.393,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52622,
    "c": 0.18934,
    "h": 265.3
  },
  "luminance": 0.1377
}

Semantic roles & 50–950 ramp

primary
#345FD6
secondary
#D6C390
accent
#BC3EE9
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0C0C16
muted
#7D7D84

Preview Lab

Preview with #345FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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