#345D98#345D98

#345D98 is a mid, moderate blue. Relative luminance 0.108; OKLCH L 47.8% C 0.106 H 257.6°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#345D98
RGBrgb(52, 93, 152)
HSLhsl(215, 49%, 40%)
HSVhsv(215, 66%, 60%)
CMYKcmyk(65.8%, 38.8%, 0%, 40.4%)
CIE-LABlab(39.28, 5.34, -36.55)
CIE-LCHlch(39.28, 36.94, 278.31°)
OKLaboklab(47.8% -0.0228 -0.1039)
OKLCHoklch(47.8% 0.106 257.6)
XYZxyz(10.9960, 10.8247, 31.2096)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345D98 #986F34
analogous
#348F98 #345D98 #3D3498
triadic
#345D98 #98345D #5D9834
tetradic
#345D98 #98348F #986F34 #34983D
square
#345D98 #98348F #986F34 #34983D
split-complementary
#345D98 #983D34 #8F9834
monochromatic
#15253D #24416A #345D98 #497AC1 #769BD0

Accessibility & contrast

On white

6.63
#345D98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#345D98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345D98
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345D98#FFFFFF#000000##FFFFFF
##345D981.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43629A
Deuteranopia (green-blind)
#355897
Tritanopia (blue-blind)
#006A73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #345d98;
/* rgb */ color: rgb(52, 93, 152);
/* oklch */ color: oklch(47.8% 0.106 257.6);
Tailwind
colors: {
  custom: {
    50: '#768ab6',
    500: '#345d98',
    950: '#000000',
  },
}
SCSS
$custom: #345d98;
$custom-light: #768ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#345d98",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 152
  },
  "hsl": {
    "h": 215.4,
    "s": 49.02,
    "l": 40
  },
  "oklch": {
    "l": 0.47797,
    "c": 0.10637,
    "h": 257.6
  },
  "luminance": 0.10826
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #345D98

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

Preview Lab → · Contrast checker → · Palette generator →

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