#345EA9#345EA9

#345EA9 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.1% C 0.129 H 261.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#345EA9
RGBrgb(52, 94, 169)
HSLhsl(218, 53%, 43%)
HSVhsv(218, 69%, 66%)
CMYKcmyk(69.2%, 44.4%, 0%, 33.7%)
CIE-LABlab(40.57, 10.95, -44.63)
CIE-LCHlch(40.57, 45.95, 283.79°)
OKLaboklab(49.12% -0.0201 -0.1276)
OKLCHoklch(49.12% 0.129 261)
XYZxyz(12.5778, 11.5988, 39.1043)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345EA9 #A97F34
analogous
#3498A9 #345EA9 #4534A9
triadic
#345EA9 #A9345E #5EA934
tetradic
#345EA9 #A93498 #A97F34 #34A945
square
#345EA9 #A93498 #A97F34 #34A945
split-complementary
#345EA9 #A94534 #98A934
monochromatic
#172A4B #26447A #345EA9 #517CC9 #809FD8

Accessibility & contrast

On white

6.33
#345EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#345EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345EA9
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345EA9#FFFFFF#000000##FFFFFF
##345EA91.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A65AC
Deuteranopia (green-blind)
#255BA7
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #345ea9;
/* rgb */ color: rgb(52, 94, 169);
/* oklch */ color: oklch(49.1% 0.129 261.0);
Tailwind
colors: {
  custom: {
    50: '#798bc3',
    500: '#345ea9',
    950: '#000000',
  },
}
SCSS
$custom: #345ea9;
$custom-light: #798bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#345ea9",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 169
  },
  "hsl": {
    "h": 218.462,
    "s": 52.941,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49116,
    "c": 0.12914,
    "h": 261
  },
  "luminance": 0.116
}

Semantic roles & 50–950 ramp

primary
#345EA9
secondary
#C1A778
accent
#A84BDC
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #345EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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