#345997#345997

#345997 is a mid, moderate blue. Relative luminance 0.101; OKLCH L 46.8% C 0.110 H 260.1°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#345997
RGBrgb(52, 89, 151)
HSLhsl(218, 49%, 40%)
HSVhsv(218, 66%, 59%)
CMYKcmyk(65.6%, 41.1%, 0%, 40.8%)
CIE-LABlab(38.04, 7.55, -37.93)
CIE-LCHlch(38.04, 38.68, 281.26°)
OKLaboklab(46.81% -0.0188 -0.108)
OKLCHoklch(46.81% 0.11 260.1)
XYZxyz(10.5725, 10.1082, 30.6661)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345997 #977234
analogous
#348A97 #345997 #413497
triadic
#345997 #973459 #599734
tetradic
#345997 #97348A #977234 #349741
square
#345997 #97348A #977234 #349741
split-complementary
#345997 #974134 #8A9734
monochromatic
#15233C #243E69 #345997 #4875C0 #7697D0

Accessibility & contrast

On white

6.95
#345997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#345997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345997
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345997#FFFFFF#000000##FFFFFF
##3459971.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5F99
Deuteranopia (green-blind)
#2F5596
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #345997;
/* rgb */ color: rgb(52, 89, 151);
/* oklch */ color: oklch(46.8% 0.110 260.1);
Tailwind
colors: {
  custom: {
    50: '#7687b6',
    500: '#345997',
    950: '#000000',
  },
}
SCSS
$custom: #345997;
$custom-light: #7687b6;
$custom-dark: #000000;
JSON
{
  "hex": "#345997",
  "rgb": {
    "r": 52,
    "g": 89,
    "b": 151
  },
  "hsl": {
    "h": 217.576,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4681,
    "c": 0.10961,
    "h": 260.1
  },
  "luminance": 0.10109
}

Semantic roles & 50–950 ramp

primary
#345997
secondary
#B89D6F
accent
#A54FD8
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345997

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

Preview Lab → · Contrast checker → · Palette generator →

#345997 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva