#345FB5#345FB5

#345FB5 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.2% C 0.145 H 262.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#345FB5
RGBrgb(52, 95, 181)
HSLhsl(220, 55%, 46%)
HSVhsv(220, 71%, 71%)
CMYKcmyk(71.3%, 47.5%, 0%, 29%)
CIE-LABlab(41.61, 14.77, -50.02)
CIE-LCHlch(41.61, 52.16, 286.45°)
OKLaboklab(50.16% -0.019 -0.1434)
OKLCHoklch(50.16% 0.145 262.4)
XYZxyz(13.8459, 12.2492, 45.3417)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345FB5 #B58A34
analogous
#349FB5 #345FB5 #4934B5
triadic
#345FB5 #B5345F #5FB534
tetradic
#345FB5 #B5349F #B58A34 #34B549
square
#345FB5 #B5349F #B58A34 #34B549
split-complementary
#345FB5 #B54934 #9FB534
monochromatic
#192D56 #264685 #345FB5 #577FCF #87A3DC

Accessibility & contrast

On white

6.09
#345FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#345FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345FB5
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345FB5#FFFFFF#000000##FFFFFF
##345FB51.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3168B8
Deuteranopia (green-blind)
#115DB3
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #345fb5;
/* rgb */ color: rgb(52, 95, 181);
/* oklch */ color: oklch(50.2% 0.145 262.4);
Tailwind
colors: {
  custom: {
    50: '#7b8bcc',
    500: '#345fb5',
    950: '#000000',
  },
}
SCSS
$custom: #345fb5;
$custom-light: #7b8bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#345fb5",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 181
  },
  "hsl": {
    "h": 220,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50157,
    "c": 0.14468,
    "h": 262.4
  },
  "luminance": 0.12251
}

Semantic roles & 50–950 ramp

primary
#345FB5
secondary
#C6AE7F
accent
#AD49DF
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #345FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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