#345DB4#345DB4

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

Color values

HEX#345DB4
RGBrgb(52, 93, 180)
HSLhsl(221, 55%, 45%)
HSVhsv(221, 71%, 71%)
CMYKcmyk(71.1%, 48.3%, 0%, 29.4%)
CIE-LABlab(40.98, 15.69, -50.45)
CIE-LCHlch(40.98, 52.83, 287.28°)
OKLaboklab(49.66% -0.0174 -0.1447)
OKLCHoklch(49.66% 0.146 263.2)
XYZxyz(13.5658, 11.8526, 44.7440)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345DB4 #B48B34
analogous
#349DB4 #345DB4 #4B34B4
triadic
#345DB4 #B4345D #5DB434
tetradic
#345DB4 #B4349D #B48B34 #34B44B
square
#345DB4 #B4349D #B48B34 #34B44B
split-complementary
#345DB4 #B44B34 #9DB434
monochromatic
#192C55 #264485 #345DB4 #577DCE #86A2DC

Accessibility & contrast

On white

6.23
#345DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#345DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345DB4
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345DB4#FFFFFF#000000##FFFFFF
##345DB41.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E67B7
Deuteranopia (green-blind)
#095BB2
Tritanopia (blue-blind)
#007180
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #345db4;
/* rgb */ color: rgb(52, 93, 180);
/* oklch */ color: oklch(49.7% 0.146 263.2);
Tailwind
colors: {
  custom: {
    50: '#7b8acb',
    500: '#345db4',
    950: '#000000',
  },
}
SCSS
$custom: #345db4;
$custom-light: #7b8acb;
$custom-dark: #000000;
JSON
{
  "hex": "#345db4",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 180
  },
  "hsl": {
    "h": 220.781,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49655,
    "c": 0.14574,
    "h": 263.2
  },
  "luminance": 0.11854
}

Semantic roles & 50–950 ramp

primary
#345DB4
secondary
#C6AF7E
accent
#AF49DF
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #345DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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