#345FC6#345FC6

#345FC6 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.4% C 0.168 H 264.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#345FC6
RGBrgb(52, 95, 198)
HSLhsl(222, 58%, 49%)
HSVhsv(222, 74%, 78%)
CMYKcmyk(73.7%, 52%, 0%, 22.4%)
CIE-LABlab(42.75, 21.10, -58.08)
CIE-LCHlch(42.75, 61.80, 289.97°)
OKLaboklab(51.39% -0.0169 -0.1671)
OKLCHoklch(51.39% 0.168 264.2)
XYZxyz(15.6978, 12.9900, 55.0951)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345FC6 #C69B34
analogous
#34A8C6 #345FC6 #5234C6
triadic
#345FC6 #C6345F #5FC634
tetradic
#345FC6 #C634A8 #C69B34 #34C652
square
#345FC6 #C634A8 #C69B34 #34C652
split-complementary
#345FC6 #C65234 #A8C634
monochromatic
#1B3065 #274896 #345FC6 #6284D6 #92AAE2

Accessibility & contrast

On white

5.84
#345FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#345FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345FC6
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345FC6#FFFFFF#000000##FFFFFF
##345FC61.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196CCA
Deuteranopia (green-blind)
#005FC4
Tritanopia (blue-blind)
#007889
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #345fc6;
/* rgb */ color: rgb(52, 95, 198);
/* oklch */ color: oklch(51.4% 0.168 264.2);
Tailwind
colors: {
  custom: {
    50: '#7f8bd8',
    500: '#345fc6',
    950: '#000000',
  },
}
SCSS
$custom: #345fc6;
$custom-light: #7f8bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#345fc6",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 198
  },
  "hsl": {
    "h": 222.329,
    "s": 58.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5139,
    "c": 0.16798,
    "h": 264.2
  },
  "luminance": 0.12992
}

Semantic roles & 50–950 ramp

primary
#345FC6
secondary
#CDB989
accent
#B446E2
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #345FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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