#345EA0#345EA0

#345EA0 is a mid, moderate blue. Relative luminance 0.113; OKLCH L 48.5% C 0.116 H 259.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#345EA0
RGBrgb(52, 94, 160)
HSLhsl(217, 51%, 42%)
HSVhsv(217, 68%, 63%)
CMYKcmyk(67.5%, 41.3%, 0%, 37.3%)
CIE-LABlab(40.04, 7.63, -40.14)
CIE-LCHlch(40.04, 40.86, 280.76°)
OKLaboklab(48.53% -0.022 -0.1144)
OKLCHoklch(48.53% 0.116 259.1)
XYZxyz(11.7618, 11.2724, 34.8068)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345EA0 #A07634
analogous
#3494A0 #345EA0 #4034A0
triadic
#345EA0 #A0345E #5EA034
tetradic
#345EA0 #A03494 #A07634 #34A040
square
#345EA0 #A03494 #A07634 #34A040
split-complementary
#345EA0 #A04034 #94A034
monochromatic
#162844 #254372 #345EA0 #4C7BC5 #7A9DD4

Accessibility & contrast

On white

6.45
#345EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#345EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345EA0
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345EA0#FFFFFF#000000##FFFFFF
##345EA01.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4064A3
Deuteranopia (green-blind)
#2F5A9F
Tritanopia (blue-blind)
#006D77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #345ea0;
/* rgb */ color: rgb(52, 94, 160);
/* oklch */ color: oklch(48.5% 0.116 259.1);
Tailwind
colors: {
  custom: {
    50: '#778bbc',
    500: '#345ea0',
    950: '#000000',
  },
}
SCSS
$custom: #345ea0;
$custom-light: #778bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#345ea0",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 160
  },
  "hsl": {
    "h": 216.667,
    "s": 50.943,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48529,
    "c": 0.11648,
    "h": 259.1
  },
  "luminance": 0.11274
}

Semantic roles & 50–950 ramp

primary
#345EA0
secondary
#BDA073
accent
#A44DDA
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #345EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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