#345DB5#345DB5

#345DB5 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.7% C 0.147 H 263.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#345DB5
RGBrgb(52, 93, 181)
HSLhsl(221, 55%, 46%)
HSVhsv(221, 71%, 71%)
CMYKcmyk(71.3%, 48.6%, 0%, 29%)
CIE-LABlab(41.05, 16.07, -50.93)
CIE-LCHlch(41.05, 53.40, 287.51°)
OKLaboklab(49.73% -0.0172 -0.1461)
OKLCHoklch(49.73% 0.147 263.3)
XYZxyz(13.6681, 11.8935, 45.2825)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345DB5 #B58C34
analogous
#349DB5 #345DB5 #4B34B5
triadic
#345DB5 #B5345D #5DB534
tetradic
#345DB5 #B5349D #B58C34 #34B54B
square
#345DB5 #B5349D #B58C34 #34B54B
split-complementary
#345DB5 #B54B34 #9DB534
monochromatic
#192C56 #264585 #345DB5 #577DCF #87A2DC

Accessibility & contrast

On white

6.21
#345DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#345DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345DB5
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345DB5#FFFFFF#000000##FFFFFF
##345DB51.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D67B8
Deuteranopia (green-blind)
#055BB3
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #345db5;
/* rgb */ color: rgb(52, 93, 181);
/* oklch */ color: oklch(49.7% 0.147 263.3);
Tailwind
colors: {
  custom: {
    50: '#7b8acc',
    500: '#345db5',
    950: '#000000',
  },
}
SCSS
$custom: #345db5;
$custom-light: #7b8acc;
$custom-dark: #000000;
JSON
{
  "hex": "#345db5",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 181
  },
  "hsl": {
    "h": 220.93,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49726,
    "c": 0.14713,
    "h": 263.3
  },
  "luminance": 0.11895
}

Semantic roles & 50–950 ramp

primary
#345DB5
secondary
#C6AF7F
accent
#AF49DF
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #345DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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