#345EA1#345EA1

#345EA1 is a mid, moderate blue. Relative luminance 0.113; OKLCH L 48.6% C 0.118 H 259.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#345EA1
RGBrgb(52, 94, 161)
HSLhsl(217, 51%, 42%)
HSVhsv(217, 68%, 63%)
CMYKcmyk(67.7%, 41.6%, 0%, 36.9%)
CIE-LABlab(40.09, 8.00, -40.64)
CIE-LCHlch(40.09, 41.42, 281.13°)
OKLaboklab(48.59% -0.0218 -0.1159)
OKLCHoklch(48.59% 0.118 259.4)
XYZxyz(11.8496, 11.3075, 35.2694)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345EA1 #A17734
analogous
#3495A1 #345EA1 #4134A1
triadic
#345EA1 #A1345E #5EA134
tetradic
#345EA1 #A13495 #A17734 #34A141
square
#345EA1 #A13495 #A17734 #34A141
split-complementary
#345EA1 #A14134 #95A134
monochromatic
#162844 #254373 #345EA1 #4D7BC5 #7B9DD4

Accessibility & contrast

On white

6.44
#345EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#345EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345EA1
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345EA1#FFFFFF#000000##FFFFFF
##345EA11.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F64A4
Deuteranopia (green-blind)
#2E5AA0
Tritanopia (blue-blind)
#006D77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #345ea1;
/* rgb */ color: rgb(52, 94, 161);
/* oklch */ color: oklch(48.6% 0.118 259.4);
Tailwind
colors: {
  custom: {
    50: '#788bbd',
    500: '#345ea1',
    950: '#000000',
  },
}
SCSS
$custom: #345ea1;
$custom-light: #788bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#345ea1",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 161
  },
  "hsl": {
    "h": 216.881,
    "s": 51.174,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48593,
    "c": 0.11789,
    "h": 259.4
  },
  "luminance": 0.11309
}

Semantic roles & 50–950 ramp

primary
#345EA1
secondary
#BDA174
accent
#A44DDB
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #345EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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