#345FC5#345FC5

#345FC5 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.3% C 0.167 H 264.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#345FC5
RGBrgb(52, 95, 197)
HSLhsl(222, 58%, 49%)
HSVhsv(222, 74%, 77%)
CMYKcmyk(73.6%, 51.8%, 0%, 22.7%)
CIE-LABlab(42.68, 20.73, -57.62)
CIE-LCHlch(42.68, 61.23, 289.79°)
OKLaboklab(51.32% -0.017 -0.1658)
OKLCHoklch(51.32% 0.167 264.2)
XYZxyz(15.5829, 12.9440, 54.4897)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345FC5 #C59A34
analogous
#34A8C5 #345FC5 #5234C5
triadic
#345FC5 #C5345F #5FC534
tetradic
#345FC5 #C534A8 #C59A34 #34C552
square
#345FC5 #C534A8 #C59A34 #34C552
split-complementary
#345FC5 #C55234 #A8C534
monochromatic
#1A3064 #274895 #345FC5 #6183D5 #91A9E2

Accessibility & contrast

On white

5.85
#345FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#345FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345FC5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345FC5#FFFFFF#000000##FFFFFF
##345FC51.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6CC9
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#007889
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #345fc5;
/* rgb */ color: rgb(52, 95, 197);
/* oklch */ color: oklch(51.3% 0.167 264.2);
Tailwind
colors: {
  custom: {
    50: '#7f8bd7',
    500: '#345fc5',
    950: '#000000',
  },
}
SCSS
$custom: #345fc5;
$custom-light: #7f8bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#345fc5",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 197
  },
  "hsl": {
    "h": 222.207,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51315,
    "c": 0.16663,
    "h": 264.2
  },
  "luminance": 0.12946
}

Semantic roles & 50–950 ramp

primary
#345FC5
secondary
#CDB888
accent
#B346E1
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #345FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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