#345DB9#345DB9

#345DB9 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.0% C 0.153 H 263.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#345DB9
RGBrgb(52, 93, 185)
HSLhsl(222, 56%, 46%)
HSVhsv(222, 72%, 73%)
CMYKcmyk(71.9%, 49.7%, 0%, 27.5%)
CIE-LABlab(41.31, 17.56, -52.85)
CIE-LCHlch(41.31, 55.68, 288.38°)
OKLaboklab(50.01% -0.0167 -0.1517)
OKLCHoklch(50.01% 0.153 263.7)
XYZxyz(14.0844, 12.0601, 47.4751)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345DB9 #B99034
analogous
#34A0B9 #345DB9 #4E34B9
triadic
#345DB9 #B9345D #5DB934
tetradic
#345DB9 #B934A0 #B99034 #34B94E
square
#345DB9 #B934A0 #B99034 #34B94E
split-complementary
#345DB9 #B94E34 #A0B934
monochromatic
#192D59 #274589 #345DB9 #5A7ED1 #89A3DE

Accessibility & contrast

On white

6.15
#345DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#345DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345DB9
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345DB9#FFFFFF#000000##FFFFFF
##345DB91.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2868BC
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #345db9;
/* rgb */ color: rgb(52, 93, 185);
/* oklch */ color: oklch(50.0% 0.153 263.7);
Tailwind
colors: {
  custom: {
    50: '#7c8acf',
    500: '#345db9',
    950: '#000000',
  },
}
SCSS
$custom: #345db9;
$custom-light: #7c8acf;
$custom-dark: #000000;
JSON
{
  "hex": "#345db9",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 185
  },
  "hsl": {
    "h": 221.504,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50013,
    "c": 0.15267,
    "h": 263.7
  },
  "luminance": 0.12062
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #345DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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