#345DC1#345DC1

#345DC1 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.6% C 0.164 H 264.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#345DC1
RGBrgb(52, 93, 193)
HSLhsl(223, 58%, 48%)
HSVhsv(223, 73%, 76%)
CMYKcmyk(73.1%, 51.8%, 0%, 24.3%)
CIE-LABlab(41.86, 20.54, -56.63)
CIE-LCHlch(41.86, 60.24, 289.93°)
OKLaboklab(50.6% -0.0158 -0.1629)
OKLCHoklch(50.6% 0.164 264.5)
XYZxyz(14.9528, 12.4074, 52.0486)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345DC1 #C19834
analogous
#34A3C1 #345DC1 #5134C1
triadic
#345DC1 #C1345D #5DC134
tetradic
#345DC1 #C134A3 #C19834 #34C151
square
#345DC1 #C134A3 #C19834 #34C151
split-complementary
#345DC1 #C15134 #A3C134
monochromatic
#1A2F61 #274691 #345DC1 #5E81D4 #8FA7E1

Accessibility & contrast

On white

6.03
#345DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#345DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345DC1
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345DC1#FFFFFF#000000##FFFFFF
##345DC11.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6AC5
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #345dc1;
/* rgb */ color: rgb(52, 93, 193);
/* oklch */ color: oklch(50.6% 0.164 264.5);
Tailwind
colors: {
  custom: {
    50: '#7e8ad4',
    500: '#345dc1',
    950: '#000000',
  },
}
SCSS
$custom: #345dc1;
$custom-light: #7e8ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#345dc1",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 193
  },
  "hsl": {
    "h": 222.553,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50602,
    "c": 0.16364,
    "h": 264.5
  },
  "luminance": 0.12409
}

Semantic roles & 50–950 ramp

primary
#345DC1
secondary
#CBB786
accent
#B447E1
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #345DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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