#345C97#345C97

#345C97 is a mid, moderate blue. Relative luminance 0.106; OKLCH L 47.5% C 0.106 H 258.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#345C97
RGBrgb(52, 92, 151)
HSLhsl(216, 49%, 40%)
HSVhsv(216, 66%, 59%)
CMYKcmyk(65.6%, 39.1%, 0%, 40.8%)
CIE-LABlab(38.93, 5.62, -36.51)
CIE-LCHlch(38.93, 36.94, 278.74°)
OKLaboklab(47.5% -0.022 -0.1038)
OKLCHoklch(47.5% 0.106 258)
XYZxyz(10.8272, 10.6177, 30.7510)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345C97 #976F34
analogous
#348D97 #345C97 #3E3497
triadic
#345C97 #97345C #5C9734
tetradic
#345C97 #97348D #976F34 #34973E
square
#345C97 #97348D #976F34 #34973E
split-complementary
#345C97 #973E34 #8D9734
monochromatic
#15253C #244069 #345C97 #4879C0 #769AD0

Accessibility & contrast

On white

6.72
#345C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#345C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345C97
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345C97#FFFFFF#000000##FFFFFF
##345C971.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426199
Deuteranopia (green-blind)
#345796
Tritanopia (blue-blind)
#006972
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #345c97;
/* rgb */ color: rgb(52, 92, 151);
/* oklch */ color: oklch(47.5% 0.106 258.0);
Tailwind
colors: {
  custom: {
    50: '#7689b6',
    500: '#345c97',
    950: '#000000',
  },
}
SCSS
$custom: #345c97;
$custom-light: #7689b6;
$custom-dark: #000000;
JSON
{
  "hex": "#345c97",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 151
  },
  "hsl": {
    "h": 215.758,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47503,
    "c": 0.10609,
    "h": 258
  },
  "luminance": 0.10619
}

Semantic roles & 50–950 ramp

primary
#345C97
secondary
#B89A6F
accent
#A14FD8
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345C97

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

Preview Lab → · Contrast checker → · Palette generator →

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