#345FA3#345FA3

#345FA3 is a mid, moderate blue. Relative luminance 0.116; OKLCH L 48.9% C 0.120 H 259.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#345FA3
RGBrgb(52, 95, 163)
HSLhsl(217, 52%, 42%)
HSVhsv(217, 68%, 64%)
CMYKcmyk(68.1%, 41.7%, 0%, 36.1%)
CIE-LABlab(40.50, 8.09, -41.18)
CIE-LCHlch(40.50, 41.96, 281.12°)
OKLaboklab(48.95% -0.0224 -0.1174)
OKLCHoklch(48.95% 0.12 259.2)
XYZxyz(12.1169, 11.5576, 36.2355)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345FA3 #A37834
analogous
#3497A3 #345FA3 #4134A3
triadic
#345FA3 #A3345F #5FA334
tetradic
#345FA3 #A33497 #A37834 #34A341
square
#345FA3 #A33497 #A37834 #34A341
split-complementary
#345FA3 #A34134 #97A334
monochromatic
#162946 #254475 #345FA3 #4E7DC6 #7C9FD5

Accessibility & contrast

On white

6.34
#345FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#345FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345FA3
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345FA3#FFFFFF#000000##FFFFFF
##345FA31.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4065A6
Deuteranopia (green-blind)
#2E5BA2
Tritanopia (blue-blind)
#006F79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #345fa3;
/* rgb */ color: rgb(52, 95, 163);
/* oklch */ color: oklch(48.9% 0.120 259.2);
Tailwind
colors: {
  custom: {
    50: '#788cbf',
    500: '#345fa3',
    950: '#000000',
  },
}
SCSS
$custom: #345fa3;
$custom-light: #788cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#345fa3",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 163
  },
  "hsl": {
    "h": 216.757,
    "s": 51.628,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48948,
    "c": 0.11952,
    "h": 259.2
  },
  "luminance": 0.11559
}

Semantic roles & 50–950 ramp

primary
#345FA3
secondary
#BEA275
accent
#A44DDB
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #345FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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