#345EB9#345EB9

#345EB9 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.2% C 0.151 H 263.3°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#345EB9
RGBrgb(52, 94, 185)
HSLhsl(221, 56%, 46%)
HSVhsv(221, 72%, 73%)
CMYKcmyk(71.9%, 49.2%, 0%, 27.5%)
CIE-LABlab(41.59, 16.91, -52.40)
CIE-LCHlch(41.59, 55.06, 287.88°)
OKLaboklab(50.23% -0.0176 -0.1504)
OKLCHoklch(50.23% 0.151 263.3)
XYZxyz(14.1727, 12.2368, 47.5045)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345EB9 #B98F34
analogous
#34A1B9 #345EB9 #4D34B9
triadic
#345EB9 #B9345E #5EB934
tetradic
#345EB9 #B934A1 #B98F34 #34B94D
square
#345EB9 #B934A1 #B98F34 #34B94D
split-complementary
#345EB9 #B94D34 #A1B934
monochromatic
#192D59 #274689 #345EB9 #5A7FD1 #89A4DE

Accessibility & contrast

On white

6.09
#345EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#345EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345EB9
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345EB9#FFFFFF#000000##FFFFFF
##345EB91.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B69BC
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #345eb9;
/* rgb */ color: rgb(52, 94, 185);
/* oklch */ color: oklch(50.2% 0.151 263.3);
Tailwind
colors: {
  custom: {
    50: '#7c8bcf',
    500: '#345eb9',
    950: '#000000',
  },
}
SCSS
$custom: #345eb9;
$custom-light: #7c8bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#345eb9",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 185
  },
  "hsl": {
    "h": 221.053,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50226,
    "c": 0.15144,
    "h": 263.3
  },
  "luminance": 0.12238
}

Semantic roles & 50–950 ramp

primary
#345EB9
secondary
#C8B281
accent
#B048DF
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #345EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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