#345E99#345E99

#345E99 is a mid, moderate blue. Relative luminance 0.110; OKLCH L 48.1% C 0.107 H 257.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#345E99
RGBrgb(52, 94, 153)
HSLhsl(215, 49%, 40%)
HSVhsv(215, 66%, 60%)
CMYKcmyk(66%, 38.6%, 0%, 40%)
CIE-LABlab(39.64, 5.07, -36.59)
CIE-LCHlch(39.64, 36.94, 277.88°)
OKLaboklab(48.09% -0.0236 -0.104)
OKLCHoklch(48.09% 0.107 257.2)
XYZxyz(11.1666, 11.0343, 31.6722)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345E99 #996F34
analogous
#349099 #345E99 #3D3499
triadic
#345E99 #99345E #5E9934
tetradic
#345E99 #993490 #996F34 #34993D
square
#345E99 #993490 #996F34 #34993D
split-complementary
#345E99 #993D34 #909934
monochromatic
#15263E #24426B #345E99 #497BC1 #779CD1

Accessibility & contrast

On white

6.55
#345E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#345E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345E99
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345E99#FFFFFF#000000##FFFFFF
##345E991.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44639B
Deuteranopia (green-blind)
#365998
Tritanopia (blue-blind)
#006C74
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #345e99;
/* rgb */ color: rgb(52, 94, 153);
/* oklch */ color: oklch(48.1% 0.107 257.2);
Tailwind
colors: {
  custom: {
    50: '#768bb7',
    500: '#345e99',
    950: '#000000',
  },
}
SCSS
$custom: #345e99;
$custom-light: #768bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#345e99",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 153
  },
  "hsl": {
    "h": 215.05,
    "s": 49.268,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48091,
    "c": 0.10664,
    "h": 257.2
  },
  "luminance": 0.11035
}

Semantic roles & 50–950 ramp

primary
#345E99
secondary
#B99B70
accent
#9F4FD9
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345E99

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

Preview Lab → · Contrast checker → · Palette generator →

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