#345BBD#345BBD

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

Color values

HEX#345BBD
RGBrgb(52, 91, 189)
HSLhsl(223, 57%, 47%)
HSVhsv(223, 72%, 74%)
CMYKcmyk(72.5%, 51.9%, 0%, 25.9%)
CIE-LABlab(41.03, 20.35, -55.63)
CIE-LCHlch(41.03, 59.23, 290.09°)
OKLaboklab(49.89% -0.0145 -0.16)
OKLCHoklch(49.89% 0.161 264.8)
XYZxyz(14.3393, 11.8848, 49.6725)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345BBD #BD9634
analogous
#349FBD #345BBD #5234BD
triadic
#345BBD #BD345B #5BBD34
tetradic
#345BBD #BD349F #BD9634 #34BD52
square
#345BBD #BD349F #BD9634 #34BD52
split-complementary
#345BBD #BD5234 #9FBD34
monochromatic
#1A2D5D #27448D #345BBD #5C7ED2 #8CA4DF

Accessibility & contrast

On white

6.22
#345BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#345BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345BBD
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345BBD#FFFFFF#000000##FFFFFF
##345BBD1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B67C0
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #345bbd;
/* rgb */ color: rgb(52, 91, 189);
/* oklch */ color: oklch(49.9% 0.161 264.8);
Tailwind
colors: {
  custom: {
    50: '#7d88d2',
    500: '#345bbd',
    950: '#000000',
  },
}
SCSS
$custom: #345bbd;
$custom-light: #7d88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#345bbd",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 222.92,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49888,
    "c": 0.16065,
    "h": 264.8
  },
  "luminance": 0.11886
}

Semantic roles & 50–950 ramp

primary
#345BBD
secondary
#CAB683
accent
#B548E0
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #345BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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