#345A97#345A97

#345A97 is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.0% C 0.108 H 259.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#345A97
RGBrgb(52, 90, 151)
HSLhsl(217, 49%, 40%)
HSVhsv(217, 66%, 59%)
CMYKcmyk(65.6%, 40.4%, 0%, 40.8%)
CIE-LABlab(38.33, 6.90, -37.46)
CIE-LCHlch(38.33, 38.09, 280.44°)
OKLaboklab(47.04% -0.0198 -0.1066)
OKLCHoklch(47.04% 0.108 259.5)
XYZxyz(10.6563, 10.2757, 30.6940)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345A97 #977134
analogous
#348B97 #345A97 #403497
triadic
#345A97 #97345A #5A9734
tetradic
#345A97 #97348B #977134 #349740
square
#345A97 #97348B #977134 #349740
split-complementary
#345A97 #974034 #8B9734
monochromatic
#15243C #243F69 #345A97 #4876C0 #7698D0

Accessibility & contrast

On white

6.87
#345A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#345A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345A97
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345A97#FFFFFF#000000##FFFFFF
##345A971.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5F99
Deuteranopia (green-blind)
#305696
Tritanopia (blue-blind)
#006871
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #345a97;
/* rgb */ color: rgb(52, 90, 151);
/* oklch */ color: oklch(47.0% 0.108 259.5);
Tailwind
colors: {
  custom: {
    50: '#7688b6',
    500: '#345a97',
    950: '#000000',
  },
}
SCSS
$custom: #345a97;
$custom-light: #7688b6;
$custom-dark: #000000;
JSON
{
  "hex": "#345a97",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 151
  },
  "hsl": {
    "h": 216.97,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4704,
    "c": 0.10842,
    "h": 259.5
  },
  "luminance": 0.10277
}

Semantic roles & 50–950 ramp

primary
#345A97
secondary
#B89C6F
accent
#A44FD8
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345A97

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

Preview Lab → · Contrast checker → · Palette generator →

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