#345FC3#345FC3

#345FC3 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.2% C 0.164 H 264.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#345FC3
RGBrgb(52, 95, 195)
HSLhsl(222, 58%, 48%)
HSVhsv(222, 73%, 76%)
CMYKcmyk(73.3%, 51.3%, 0%, 23.5%)
CIE-LABlab(42.54, 19.99, -56.68)
CIE-LCHlch(42.54, 60.10, 289.42°)
OKLaboklab(51.17% -0.0172 -0.163)
OKLCHoklch(51.17% 0.164 264)
XYZxyz(15.3552, 12.8530, 53.2908)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345FC3 #C39834
analogous
#34A6C3 #345FC3 #5034C3
triadic
#345FC3 #C3345F #5FC334
tetradic
#345FC3 #C334A6 #C39834 #34C350
square
#345FC3 #C334A6 #C39834 #34C350
split-complementary
#345FC3 #C35034 #A6C334
monochromatic
#1A3062 #274793 #345FC3 #6083D5 #90A8E1

Accessibility & contrast

On white

5.88
#345FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#345FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345FC3
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345FC3#FFFFFF#000000##FFFFFF
##345FC31.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6BC7
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#007788
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #345fc3;
/* rgb */ color: rgb(52, 95, 195);
/* oklch */ color: oklch(51.2% 0.164 264.0);
Tailwind
colors: {
  custom: {
    50: '#7e8bd6',
    500: '#345fc3',
    950: '#000000',
  },
}
SCSS
$custom: #345fc3;
$custom-light: #7e8bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#345fc3",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 195
  },
  "hsl": {
    "h": 221.958,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51166,
    "c": 0.16391,
    "h": 264
  },
  "luminance": 0.12855
}

Semantic roles & 50–950 ramp

primary
#345FC3
secondary
#CCB787
accent
#B347E1
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #345FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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