#345FB1#345FB1

#345FB1 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 49.9% C 0.139 H 261.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#345FB1
RGBrgb(52, 95, 177)
HSLhsl(219, 55%, 45%)
HSVhsv(219, 71%, 69%)
CMYKcmyk(70.6%, 46.3%, 0%, 30.6%)
CIE-LABlab(41.35, 13.28, -48.09)
CIE-LCHlch(41.35, 49.89, 285.44°)
OKLaboklab(49.88% -0.0197 -0.1377)
OKLCHoklch(49.88% 0.139 261.9)
XYZxyz(13.4414, 12.0874, 43.2112)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345FB1 #B18634
analogous
#349EB1 #345FB1 #4834B1
triadic
#345FB1 #B1345F #5FB134
tetradic
#345FB1 #B1349E #B18634 #34B148
square
#345FB1 #B1349E #B18634 #34B148
split-complementary
#345FB1 #B14834 #9EB134
monochromatic
#182C52 #264682 #345FB1 #557ECD #84A2DB

Accessibility & contrast

On white

6.14
#345FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#345FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345FB1
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345FB1#FFFFFF#000000##FFFFFF
##345FB11.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3568B4
Deuteranopia (green-blind)
#1B5CAF
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #345fb1;
/* rgb */ color: rgb(52, 95, 177);
/* oklch */ color: oklch(49.9% 0.139 261.9);
Tailwind
colors: {
  custom: {
    50: '#7b8bc9',
    500: '#345fb1',
    950: '#000000',
  },
}
SCSS
$custom: #345fb1;
$custom-light: #7b8bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#345fb1",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 177
  },
  "hsl": {
    "h": 219.36,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4988,
    "c": 0.13912,
    "h": 261.9
  },
  "luminance": 0.12089
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #345FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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