#345EA3#345EA3

#345EA3 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.7% C 0.121 H 259.8°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#345EA3
RGBrgb(52, 94, 163)
HSLhsl(217, 52%, 42%)
HSVhsv(217, 68%, 64%)
CMYKcmyk(68.1%, 42.3%, 0%, 36.1%)
CIE-LABlab(40.21, 8.73, -41.64)
CIE-LCHlch(40.21, 42.55, 281.85°)
OKLaboklab(48.72% -0.0213 -0.1188)
OKLCHoklch(48.72% 0.121 259.8)
XYZxyz(12.0274, 11.3786, 36.2057)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345EA3 #A37934
analogous
#3496A3 #345EA3 #4134A3
triadic
#345EA3 #A3345E #5EA334
tetradic
#345EA3 #A33496 #A37934 #34A341
square
#345EA3 #A33496 #A37934 #34A341
split-complementary
#345EA3 #A34134 #96A334
monochromatic
#162846 #254375 #345EA3 #4E7BC6 #7C9ED5

Accessibility & contrast

On white

6.41
#345EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#345EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345EA3
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345EA3#FFFFFF#000000##FFFFFF
##345EA31.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E64A6
Deuteranopia (green-blind)
#2C5AA2
Tritanopia (blue-blind)
#006E78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #345ea3;
/* rgb */ color: rgb(52, 94, 163);
/* oklch */ color: oklch(48.7% 0.121 259.8);
Tailwind
colors: {
  custom: {
    50: '#788bbf',
    500: '#345ea3',
    950: '#000000',
  },
}
SCSS
$custom: #345ea3;
$custom-light: #788bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#345ea3",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 163
  },
  "hsl": {
    "h": 217.297,
    "s": 51.628,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48721,
    "c": 0.1207,
    "h": 259.8
  },
  "luminance": 0.1138
}

Semantic roles & 50–950 ramp

primary
#345EA3
secondary
#BEA275
accent
#A54DDB
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #345EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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