#345EA5#345EA5

#345EA5 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 48.9% C 0.124 H 260.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#345EA5
RGBrgb(52, 94, 165)
HSLhsl(218, 52%, 43%)
HSVhsv(218, 68%, 65%)
CMYKcmyk(68.5%, 43%, 0%, 35.3%)
CIE-LABlab(40.33, 9.47, -42.64)
CIE-LCHlch(40.33, 43.68, 282.53°)
OKLaboklab(48.85% -0.0209 -0.1217)
OKLCHoklch(48.85% 0.124 260.2)
XYZxyz(12.2080, 11.4509, 37.1569)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345EA5 #A57B34
analogous
#3497A5 #345EA5 #4234A5
triadic
#345EA5 #A5345E #5EA534
tetradic
#345EA5 #A53497 #A57B34 #34A542
square
#345EA5 #A53497 #A57B34 #34A542
split-complementary
#345EA5 #A54234 #97A534
monochromatic
#172948 #254376 #345EA5 #4F7CC7 #7D9ED6

Accessibility & contrast

On white

6.38
#345EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#345EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345EA5
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345EA5#FFFFFF#000000##FFFFFF
##345EA51.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D65A8
Deuteranopia (green-blind)
#2A5AA4
Tritanopia (blue-blind)
#006E79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #345ea5;
/* rgb */ color: rgb(52, 94, 165);
/* oklch */ color: oklch(48.9% 0.124 260.2);
Tailwind
colors: {
  custom: {
    50: '#788bc0',
    500: '#345ea5',
    950: '#000000',
  },
}
SCSS
$custom: #345ea5;
$custom-light: #788bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#345ea5",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 165
  },
  "hsl": {
    "h": 217.699,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48852,
    "c": 0.12352,
    "h": 260.2
  },
  "luminance": 0.11452
}

Semantic roles & 50–950 ramp

primary
#345EA5
secondary
#BFA476
accent
#A64CDC
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #345EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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