#345E9A#345E9A

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

Color values

HEX#345E9A
RGBrgb(52, 94, 154)
HSLhsl(215, 50%, 40%)
HSVhsv(215, 66%, 60%)
CMYKcmyk(66.2%, 39%, 0%, 39.6%)
CIE-LABlab(39.69, 5.43, -37.10)
CIE-LCHlch(39.69, 37.49, 278.33°)
OKLaboklab(48.15% -0.0234 -0.1055)
OKLCHoklch(48.15% 0.108 257.5)
XYZxyz(11.2495, 11.0675, 32.1090)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345E9A #9A7034
analogous
#34919A #345E9A #3D349A
triadic
#345E9A #9A345E #5E9A34
tetradic
#345E9A #9A3491 #9A7034 #349A3D
square
#345E9A #9A3491 #9A7034 #349A3D
split-complementary
#345E9A #9A3D34 #919A34
monochromatic
#15263E #25426C #345E9A #497BC2 #779CD1

Accessibility & contrast

On white

6.53
#345E9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #345E9A
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345E9A#FFFFFF#000000##FFFFFF
##345E9A1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43639C
Deuteranopia (green-blind)
#355999
Tritanopia (blue-blind)
#006C74
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #345e9a;
/* rgb */ color: rgb(52, 94, 154);
/* oklch */ color: oklch(48.2% 0.108 257.5);
Tailwind
colors: {
  custom: {
    50: '#768bb8',
    500: '#345e9a',
    950: '#000000',
  },
}
SCSS
$custom: #345e9a;
$custom-light: #768bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#345e9a",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 154
  },
  "hsl": {
    "h": 215.294,
    "s": 49.515,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48152,
    "c": 0.10804,
    "h": 257.5
  },
  "luminance": 0.11069
}

Semantic roles & 50–950 ramp

primary
#345E9A
secondary
#BA9B70
accent
#A04FD9
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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