#345D9B#345D9B

#345D9B is a mid, moderate blue. Relative luminance 0.109; OKLCH L 48.0% C 0.111 H 258.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#345D9B
RGBrgb(52, 93, 155)
HSLhsl(216, 50%, 41%)
HSVhsv(216, 66%, 61%)
CMYKcmyk(66.5%, 40%, 0%, 39.2%)
CIE-LABlab(39.45, 6.44, -38.08)
CIE-LCHlch(39.45, 38.62, 279.59°)
OKLaboklab(47.98% -0.0221 -0.1084)
OKLCHoklch(47.98% 0.111 258.5)
XYZxyz(11.2448, 10.9242, 32.5200)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345D9B #9B7234
analogous
#34909B #345D9B #3F349B
triadic
#345D9B #9B345D #5D9B34
tetradic
#345D9B #9B3490 #9B7234 #349B3F
square
#345D9B #9B3490 #9B7234 #349B3F
split-complementary
#345D9B #9B3F34 #909B34
monochromatic
#15263F #25426D #345D9B #4A7AC2 #789CD2

Accessibility & contrast

On white

6.59
#345D9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #345D9B
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345D9B#FFFFFF#000000##FFFFFF
##345D9B1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41629D
Deuteranopia (green-blind)
#32599A
Tritanopia (blue-blind)
#006B74
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #345d9b;
/* rgb */ color: rgb(52, 93, 155);
/* oklch */ color: oklch(48.0% 0.111 258.5);
Tailwind
colors: {
  custom: {
    50: '#768ab9',
    500: '#345d9b',
    950: '#000000',
  },
}
SCSS
$custom: #345d9b;
$custom-light: #768ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#345d9b",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 155
  },
  "hsl": {
    "h": 216.117,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47983,
    "c": 0.11059,
    "h": 258.5
  },
  "luminance": 0.10925
}

Semantic roles & 50–950 ramp

primary
#345D9B
secondary
#BA9D71
accent
#A24FD9
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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