#345CBA#345CBA

#345CBA is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.9% C 0.155 H 264.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#345CBA
RGBrgb(52, 92, 186)
HSLhsl(222, 56%, 47%)
HSVhsv(222, 72%, 73%)
CMYKcmyk(72%, 50.5%, 0%, 27.1%)
CIE-LABlab(41.10, 18.58, -53.77)
CIE-LCHlch(41.10, 56.89, 289.06°)
OKLaboklab(49.88% -0.0157 -0.1545)
OKLCHoklch(49.88% 0.155 264.2)
XYZxyz(14.1031, 11.9280, 48.0039)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CBA #BA9234
analogous
#349FBA #345CBA #4F34BA
triadic
#345CBA #BA345C #5CBA34
tetradic
#345CBA #BA349F #BA9234 #34BA4F
square
#345CBA #BA349F #BA9234 #34BA4F
split-complementary
#345CBA #BA4F34 #9FBA34
monochromatic
#192D5A #27448A #345CBA #5A7ED1 #8AA3DE

Accessibility & contrast

On white

6.20
#345CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#345CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345CBA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CBA#FFFFFF#000000##FFFFFF
##345CBA1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2467BD
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #345cba;
/* rgb */ color: rgb(52, 92, 186);
/* oklch */ color: oklch(49.9% 0.155 264.2);
Tailwind
colors: {
  custom: {
    50: '#7d89cf',
    500: '#345cba',
    950: '#000000',
  },
}
SCSS
$custom: #345cba;
$custom-light: #7d89cf;
$custom-dark: #000000;
JSON
{
  "hex": "#345cba",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 186
  },
  "hsl": {
    "h": 222.09,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49875,
    "c": 0.15529,
    "h": 264.2
  },
  "luminance": 0.1193
}

Semantic roles & 50–950 ramp

primary
#345CBA
secondary
#C8B381
accent
#B248E0
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #345CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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