#345FB3#345FB3

#345FB3 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.0% C 0.142 H 262.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#345FB3
RGBrgb(52, 95, 179)
HSLhsl(220, 55%, 45%)
HSVhsv(220, 71%, 70%)
CMYKcmyk(70.9%, 46.9%, 0%, 29.8%)
CIE-LABlab(41.48, 14.02, -49.06)
CIE-LCHlch(41.48, 51.02, 285.95°)
OKLaboklab(50.02% -0.0193 -0.1406)
OKLCHoklch(50.02% 0.142 262.2)
XYZxyz(13.6422, 12.1677, 44.2687)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345FB3 #B38834
analogous
#349EB3 #345FB3 #4934B3
triadic
#345FB3 #B3345F #5FB334
tetradic
#345FB3 #B3349E #B38834 #34B349
square
#345FB3 #B3349E #B38834 #34B349
split-complementary
#345FB3 #B34934 #9EB334
monochromatic
#182D54 #264684 #345FB3 #567FCE #86A3DC

Accessibility & contrast

On white

6.12
#345FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#345FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345FB3
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345FB3#FFFFFF#000000##FFFFFF
##345FB31.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3368B6
Deuteranopia (green-blind)
#175CB1
Tritanopia (blue-blind)
#007380
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #345fb3;
/* rgb */ color: rgb(52, 95, 179);
/* oklch */ color: oklch(50.0% 0.142 262.2);
Tailwind
colors: {
  custom: {
    50: '#7b8bca',
    500: '#345fb3',
    950: '#000000',
  },
}
SCSS
$custom: #345fb3;
$custom-light: #7b8bca;
$custom-dark: #000000;
JSON
{
  "hex": "#345fb3",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 179
  },
  "hsl": {
    "h": 219.685,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50018,
    "c": 0.1419,
    "h": 262.2
  },
  "luminance": 0.12169
}

Semantic roles & 50–950 ramp

primary
#345FB3
secondary
#C5AD7D
accent
#AC49DE
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #345FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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