#345C98#345C98

#345C98 is a mid, moderate blue. Relative luminance 0.107; OKLCH L 47.6% C 0.108 H 258.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#345C98
RGBrgb(52, 92, 152)
HSLhsl(216, 49%, 40%)
HSVhsv(216, 66%, 60%)
CMYKcmyk(65.8%, 39.5%, 0%, 40.4%)
CIE-LABlab(38.99, 5.98, -37.02)
CIE-LCHlch(38.99, 37.51, 279.18°)
OKLaboklab(47.57% -0.0217 -0.1053)
OKLCHoklch(47.57% 0.108 258.3)
XYZxyz(10.9088, 10.6503, 31.1805)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345C98 #987034
analogous
#348E98 #345C98 #3E3498
triadic
#345C98 #98345C #5C9834
tetradic
#345C98 #98348E #987034 #34983E
square
#345C98 #98348E #987034 #34983E
split-complementary
#345C98 #983E34 #8E9834
monochromatic
#15253D #24406A #345C98 #4979C1 #769AD0

Accessibility & contrast

On white

6.71
#345C98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#345C98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345C98
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345C98#FFFFFF#000000##FFFFFF
##345C981.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41619A
Deuteranopia (green-blind)
#335897
Tritanopia (blue-blind)
#006A72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #345c98;
/* rgb */ color: rgb(52, 92, 152);
/* oklch */ color: oklch(47.6% 0.108 258.3);
Tailwind
colors: {
  custom: {
    50: '#7689b6',
    500: '#345c98',
    950: '#000000',
  },
}
SCSS
$custom: #345c98;
$custom-light: #7689b6;
$custom-dark: #000000;
JSON
{
  "hex": "#345c98",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 152
  },
  "hsl": {
    "h": 216,
    "s": 49.02,
    "l": 40
  },
  "oklch": {
    "l": 0.47565,
    "c": 0.10751,
    "h": 258.3
  },
  "luminance": 0.10651
}

Semantic roles & 50–950 ramp

primary
#345C98
secondary
#B99B6F
accent
#A24FD9
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345C98

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

Preview Lab → · Contrast checker → · Palette generator →

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