#345D97#345D97

#345D97 is a mid, moderate blue. Relative luminance 0.108; OKLCH L 47.7% C 0.105 H 257.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#345D97
RGBrgb(52, 93, 151)
HSLhsl(215, 49%, 40%)
HSVhsv(215, 66%, 59%)
CMYKcmyk(65.6%, 38.4%, 0%, 40.8%)
CIE-LABlab(39.23, 4.98, -36.04)
CIE-LCHlch(39.23, 36.38, 277.86°)
OKLaboklab(47.74% -0.0231 -0.1024)
OKLCHoklch(47.74% 0.105 257.3)
XYZxyz(10.9144, 10.7921, 30.7800)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345D97 #976E34
analogous
#348E97 #345D97 #3D3497
triadic
#345D97 #97345D #5D9734
tetradic
#345D97 #97348E #976E34 #34973D
square
#345D97 #97348E #976E34 #34973D
split-complementary
#345D97 #973D34 #8E9734
monochromatic
#15253C #244169 #345D97 #487AC0 #769BD0

Accessibility & contrast

On white

6.65
#345D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#345D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345D97
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345D97#FFFFFF#000000##FFFFFF
##345D971.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446199
Deuteranopia (green-blind)
#365896
Tritanopia (blue-blind)
#006A73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #345d97;
/* rgb */ color: rgb(52, 93, 151);
/* oklch */ color: oklch(47.7% 0.105 257.3);
Tailwind
colors: {
  custom: {
    50: '#768ab6',
    500: '#345d97',
    950: '#000000',
  },
}
SCSS
$custom: #345d97;
$custom-light: #768ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#345d97",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 151
  },
  "hsl": {
    "h": 215.152,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47735,
    "c": 0.10496,
    "h": 257.3
  },
  "luminance": 0.10793
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #345D97

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

Preview Lab → · Contrast checker → · Palette generator →

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