#345B97#345B97

#345B97 is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.3% C 0.107 H 258.8°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#345B97
RGBrgb(52, 91, 151)
HSLhsl(216, 49%, 40%)
HSVhsv(216, 66%, 59%)
CMYKcmyk(65.6%, 39.7%, 0%, 40.8%)
CIE-LABlab(38.63, 6.26, -36.99)
CIE-LCHlch(38.63, 37.51, 279.61°)
OKLaboklab(47.27% -0.0209 -0.1052)
OKLCHoklch(47.27% 0.107 258.8)
XYZxyz(10.7412, 10.4456, 30.7223)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345B97 #977034
analogous
#348C97 #345B97 #3F3497
triadic
#345B97 #97345B #5B9734
tetradic
#345B97 #97348C #977034 #34973F
square
#345B97 #97348C #977034 #34973F
split-complementary
#345B97 #973F34 #8C9734
monochromatic
#15243C #244069 #345B97 #4877C0 #7699D0

Accessibility & contrast

On white

6.80
#345B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#345B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345B97
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345B97#FFFFFF#000000##FFFFFF
##345B971.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406099
Deuteranopia (green-blind)
#325796
Tritanopia (blue-blind)
#006971
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #345b97;
/* rgb */ color: rgb(52, 91, 151);
/* oklch */ color: oklch(47.3% 0.107 258.8);
Tailwind
colors: {
  custom: {
    50: '#7689b6',
    500: '#345b97',
    950: '#000000',
  },
}
SCSS
$custom: #345b97;
$custom-light: #7689b6;
$custom-dark: #000000;
JSON
{
  "hex": "#345b97",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 151
  },
  "hsl": {
    "h": 216.364,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47271,
    "c": 0.10725,
    "h": 258.8
  },
  "luminance": 0.10447
}

Semantic roles & 50–950 ramp

primary
#345B97
secondary
#B89B6F
accent
#A24FD8
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345B97

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

Preview Lab → · Contrast checker → · Palette generator →

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