#345FA6#345FA6

#345FA6 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.1% C 0.124 H 259.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#345FA6
RGBrgb(52, 95, 166)
HSLhsl(217, 52%, 43%)
HSVhsv(217, 69%, 65%)
CMYKcmyk(68.7%, 42.8%, 0%, 34.9%)
CIE-LABlab(40.68, 9.20, -42.67)
CIE-LCHlch(40.68, 43.65, 282.17°)
OKLaboklab(49.14% -0.0217 -0.1218)
OKLCHoklch(49.14% 0.124 259.9)
XYZxyz(12.3889, 11.6664, 37.6679)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345FA6 #A67B34
analogous
#3498A6 #345FA6 #4234A6
triadic
#345FA6 #A6345F #5FA634
tetradic
#345FA6 #A63498 #A67B34 #34A642
square
#345FA6 #A63498 #A67B34 #34A642
split-complementary
#345FA6 #A64234 #98A634
monochromatic
#172A49 #254477 #345FA6 #4F7DC8 #7E9FD7

Accessibility & contrast

On white

6.30
#345FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#345FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345FA6
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345FA6#FFFFFF#000000##FFFFFF
##345FA61.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E66A9
Deuteranopia (green-blind)
#2B5BA5
Tritanopia (blue-blind)
#006F7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #345fa6;
/* rgb */ color: rgb(52, 95, 166);
/* oklch */ color: oklch(49.1% 0.124 259.9);
Tailwind
colors: {
  custom: {
    50: '#788bc1',
    500: '#345fa6',
    950: '#000000',
  },
}
SCSS
$custom: #345fa6;
$custom-light: #788bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#345fa6",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 166
  },
  "hsl": {
    "h": 217.368,
    "s": 52.294,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49143,
    "c": 0.12373,
    "h": 259.9
  },
  "luminance": 0.11668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #345FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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