#345BBF#345BBF

#345BBF is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.0% C 0.163 H 265.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#345BBF
RGBrgb(52, 91, 191)
HSLhsl(223, 57%, 48%)
HSVhsv(223, 73%, 75%)
CMYKcmyk(72.8%, 52.4%, 0%, 25.1%)
CIE-LABlab(41.17, 21.09, -56.57)
CIE-LCHlch(41.17, 60.37, 290.44°)
OKLaboklab(50.04% -0.0143 -0.1627)
OKLCHoklch(50.04% 0.163 265)
XYZxyz(14.5579, 11.9723, 50.8238)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345BBF #BF9834
analogous
#34A1BF #345BBF #5234BF
triadic
#345BBF #BF345B #5BBF34
tetradic
#345BBF #BF34A1 #BF9834 #34BF52
square
#345BBF #BF34A1 #BF9834 #34BF52
split-complementary
#345BBF #BF5234 #A1BF34
monochromatic
#1A2D5F #27448F #345BBF #5D7ED3 #8DA5E0

Accessibility & contrast

On white

6.19
#345BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #345BBF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345BBF#FFFFFF#000000##FFFFFF
##345BBF1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1768C3
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #345bbf;
/* rgb */ color: rgb(52, 91, 191);
/* oklch */ color: oklch(50.0% 0.163 265.0);
Tailwind
colors: {
  custom: {
    50: '#7e88d3',
    500: '#345bbf',
    950: '#000000',
  },
}
SCSS
$custom: #345bbf;
$custom-light: #7e88d3;
$custom-dark: #000000;
JSON
{
  "hex": "#345bbf",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 223.165,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50038,
    "c": 0.16338,
    "h": 265
  },
  "luminance": 0.11974
}

Semantic roles & 50–950 ramp

primary
#345BBF
secondary
#CAB784
accent
#B547E0
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #345BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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