#345BA6#345BA6

#345BA6 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.2% C 0.129 H 262.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#345BA6
RGBrgb(52, 91, 166)
HSLhsl(219, 52%, 43%)
HSVhsv(219, 69%, 65%)
CMYKcmyk(68.7%, 45.2%, 0%, 34.9%)
CIE-LABlab(39.52, 11.79, -44.53)
CIE-LCHlch(39.52, 46.06, 284.82°)
OKLaboklab(48.25% -0.0178 -0.1273)
OKLCHoklch(48.25% 0.129 262.1)
XYZxyz(12.0378, 10.9642, 37.5509)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345BA6 #A67F34
analogous
#3494A6 #345BA6 #4634A6
triadic
#345BA6 #A6345B #5BA634
tetradic
#345BA6 #A63494 #A67F34 #34A646
square
#345BA6 #A63494 #A67F34 #34A646
split-complementary
#345BA6 #A64634 #94A634
monochromatic
#172849 #254177 #345BA6 #4F79C8 #7E9CD7

Accessibility & contrast

On white

6.58
#345BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#345BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345BA6
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345BA6#FFFFFF#000000##FFFFFF
##345BA61.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3663A9
Deuteranopia (green-blind)
#2258A4
Tritanopia (blue-blind)
#006C78
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #345ba6;
/* rgb */ color: rgb(52, 91, 166);
/* oklch */ color: oklch(48.2% 0.129 262.1);
Tailwind
colors: {
  custom: {
    50: '#7988c1',
    500: '#345ba6',
    950: '#000000',
  },
}
SCSS
$custom: #345ba6;
$custom-light: #7988c1;
$custom-dark: #000000;
JSON
{
  "hex": "#345ba6",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 166
  },
  "hsl": {
    "h": 219.474,
    "s": 52.294,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48247,
    "c": 0.12857,
    "h": 262.1
  },
  "luminance": 0.10965
}

Semantic roles & 50–950 ramp

primary
#345BA6
secondary
#C0A676
accent
#AB4CDC
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #345BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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