#345D9F#345D9F

#345D9F is a mid, moderate blue. Relative luminance 0.111; OKLCH L 48.2% C 0.116 H 259.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#345D9F
RGBrgb(52, 93, 159)
HSLhsl(217, 51%, 41%)
HSVhsv(217, 67%, 62%)
CMYKcmyk(67.3%, 41.5%, 0%, 37.6%)
CIE-LABlab(39.68, 7.90, -40.10)
CIE-LCHlch(39.68, 40.88, 281.15°)
OKLaboklab(48.24% -0.0212 -0.1143)
OKLCHoklch(48.24% 0.116 259.5)
XYZxyz(11.5863, 11.0608, 34.3185)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345D9F #9F7634
analogous
#34939F #345D9F #41349F
triadic
#345D9F #9F345D #5D9F34
tetradic
#345D9F #9F3493 #9F7634 #349F41
square
#345D9F #9F3493 #9F7634 #349F41
split-complementary
#345D9F #9F4134 #939F34
monochromatic
#162743 #254271 #345D9F #4C7AC4 #7A9CD3

Accessibility & contrast

On white

6.54
#345D9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#345D9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345D9F
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345D9F#FFFFFF#000000##FFFFFF
##345D9F1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F63A2
Deuteranopia (green-blind)
#2E599E
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #345d9f;
/* rgb */ color: rgb(52, 93, 159);
/* oklch */ color: oklch(48.2% 0.116 259.5);
Tailwind
colors: {
  custom: {
    50: '#778abc',
    500: '#345d9f',
    950: '#000000',
  },
}
SCSS
$custom: #345d9f;
$custom-light: #778abc;
$custom-dark: #000000;
JSON
{
  "hex": "#345d9f",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 159
  },
  "hsl": {
    "h": 217.009,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48236,
    "c": 0.11625,
    "h": 259.5
  },
  "luminance": 0.11062
}

Semantic roles & 50–950 ramp

primary
#345D9F
secondary
#BCA073
accent
#A44EDA
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #345D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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