#345E9D#345E9D

#345E9D is a mid, moderate blue. Relative luminance 0.112; OKLCH L 48.3% C 0.112 H 258.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#345E9D
RGBrgb(52, 94, 157)
HSLhsl(216, 50%, 41%)
HSVhsv(216, 67%, 62%)
CMYKcmyk(66.9%, 40.1%, 0%, 38.4%)
CIE-LABlab(39.86, 6.53, -38.62)
CIE-LCHlch(39.86, 39.17, 279.59°)
OKLaboklab(48.34% -0.0227 -0.1099)
OKLCHoklch(48.34% 0.112 258.3)
XYZxyz(11.5025, 11.1687, 33.4413)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345E9D #9D7334
analogous
#34929D #345E9D #3E349D
triadic
#345E9D #9D345E #5E9D34
tetradic
#345E9D #9D3492 #9D7334 #349D3E
square
#345E9D #9D3492 #9D7334 #349D3E
split-complementary
#345E9D #9D3E34 #929D34
monochromatic
#162741 #25426F #345E9D #4B7BC3 #799DD3

Accessibility & contrast

On white

6.49
#345E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#345E9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345E9D
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345E9D#FFFFFF#000000##FFFFFF
##345E9D1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4263A0
Deuteranopia (green-blind)
#32599C
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #345e9d;
/* rgb */ color: rgb(52, 94, 157);
/* oklch */ color: oklch(48.3% 0.112 258.3);
Tailwind
colors: {
  custom: {
    50: '#778bba',
    500: '#345e9d',
    950: '#000000',
  },
}
SCSS
$custom: #345e9d;
$custom-light: #778bba;
$custom-dark: #000000;
JSON
{
  "hex": "#345e9d",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 157
  },
  "hsl": {
    "h": 216,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48339,
    "c": 0.11226,
    "h": 258.3
  },
  "luminance": 0.1117
}

Semantic roles & 50–950 ramp

primary
#345E9D
secondary
#BB9E72
accent
#A24EDA
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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