#345FA7#345FA7

#345FA7 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.2% C 0.125 H 260.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#345FA7
RGBrgb(52, 95, 167)
HSLhsl(218, 53%, 43%)
HSVhsv(218, 69%, 65%)
CMYKcmyk(68.9%, 43.1%, 0%, 34.5%)
CIE-LABlab(40.74, 9.57, -43.17)
CIE-LCHlch(40.74, 44.22, 282.50°)
OKLaboklab(49.21% -0.0215 -0.1233)
OKLCHoklch(49.21% 0.125 260.1)
XYZxyz(12.4809, 11.7032, 38.1529)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345FA7 #A77C34
analogous
#3498A7 #345FA7 #4234A7
triadic
#345FA7 #A7345F #5FA734
tetradic
#345FA7 #A73498 #A77C34 #34A742
square
#345FA7 #A73498 #A77C34 #34A742
split-complementary
#345FA7 #A74234 #98A734
monochromatic
#172A4A #254478 #345FA7 #507DC8 #7EA0D7

Accessibility & contrast

On white

6.29
#345FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#345FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345FA7
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345FA7#FFFFFF#000000##FFFFFF
##345FA71.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D66AA
Deuteranopia (green-blind)
#2A5BA6
Tritanopia (blue-blind)
#00707B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #345fa7;
/* rgb */ color: rgb(52, 95, 167);
/* oklch */ color: oklch(49.2% 0.125 260.1);
Tailwind
colors: {
  custom: {
    50: '#798bc1',
    500: '#345fa7',
    950: '#000000',
  },
}
SCSS
$custom: #345fa7;
$custom-light: #798bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#345fa7",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 167
  },
  "hsl": {
    "h": 217.565,
    "s": 52.511,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49208,
    "c": 0.12513,
    "h": 260.1
  },
  "luminance": 0.11705
}

Semantic roles & 50–950 ramp

primary
#345FA7
secondary
#C0A577
accent
#A64CDC
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #345FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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