#345FC7#345FC7

#345FC7 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.5% C 0.169 H 264.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#345FC7
RGBrgb(52, 95, 199)
HSLhsl(222, 59%, 49%)
HSVhsv(222, 74%, 78%)
CMYKcmyk(73.9%, 52.3%, 0%, 22%)
CIE-LABlab(42.82, 21.47, -58.55)
CIE-LCHlch(42.82, 62.36, 290.14°)
OKLaboklab(51.47% -0.0168 -0.1685)
OKLCHoklch(51.47% 0.169 264.3)
XYZxyz(15.8135, 13.0363, 55.7046)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345FC7 #C79C34
analogous
#34A9C7 #345FC7 #5334C7
triadic
#345FC7 #C7345F #5FC734
tetradic
#345FC7 #C734A9 #C79C34 #34C753
square
#345FC7 #C734A9 #C79C34 #34C753
split-complementary
#345FC7 #C75334 #A9C734
monochromatic
#1B3166 #274896 #345FC7 #6284D6 #93AAE3

Accessibility & contrast

On white

5.82
#345FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #345FC7
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345FC7#FFFFFF#000000##FFFFFF
##345FC71.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176CCB
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#00788A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #345fc7;
/* rgb */ color: rgb(52, 95, 199);
/* oklch */ color: oklch(51.5% 0.169 264.3);
Tailwind
colors: {
  custom: {
    50: '#7f8bd9',
    500: '#345fc7',
    950: '#000000',
  },
}
SCSS
$custom: #345fc7;
$custom-light: #7f8bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#345fc7",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 222.449,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51465,
    "c": 0.16933,
    "h": 264.3
  },
  "luminance": 0.13038
}

Semantic roles & 50–950 ramp

primary
#345FC7
secondary
#CEBA89
accent
#B446E2
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #345FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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