#345FB0#345FB0

#345FB0 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.8% C 0.138 H 261.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#345FB0
RGBrgb(52, 95, 176)
HSLhsl(219, 54%, 45%)
HSVhsv(219, 70%, 69%)
CMYKcmyk(70.5%, 46%, 0%, 31%)
CIE-LABlab(41.29, 12.91, -47.60)
CIE-LCHlch(41.29, 49.32, 285.17°)
OKLaboklab(49.81% -0.0198 -0.1363)
OKLCHoklch(49.81% 0.138 261.7)
XYZxyz(13.3421, 12.0477, 42.6882)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345FB0 #B08534
analogous
#349DB0 #345FB0 #4734B0
triadic
#345FB0 #B0345F #5FB034
tetradic
#345FB0 #B0349D #B08534 #34B047
square
#345FB0 #B0349D #B08534 #34B047
split-complementary
#345FB0 #B04734 #9DB034
monochromatic
#182C52 #264581 #345FB0 #557ECD #84A2DB

Accessibility & contrast

On white

6.16
#345FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #345FB0
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345FB0#FFFFFF#000000##FFFFFF
##345FB01.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3667B3
Deuteranopia (green-blind)
#1D5CAE
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #345fb0;
/* rgb */ color: rgb(52, 95, 176);
/* oklch */ color: oklch(49.8% 0.138 261.7);
Tailwind
colors: {
  custom: {
    50: '#7a8bc8',
    500: '#345fb0',
    950: '#000000',
  },
}
SCSS
$custom: #345fb0;
$custom-light: #7a8bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#345fb0",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 176
  },
  "hsl": {
    "h": 219.194,
    "s": 54.386,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49811,
    "c": 0.13773,
    "h": 261.7
  },
  "luminance": 0.12049
}

Semantic roles & 50–950 ramp

primary
#345FB0
secondary
#C4AB7C
accent
#AB4ADE
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #345FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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