#345DBF#345DBF

#345DBF is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.5% C 0.161 H 264.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#345DBF
RGBrgb(52, 93, 191)
HSLhsl(222, 57%, 48%)
HSVhsv(222, 73%, 75%)
CMYKcmyk(72.8%, 51.3%, 0%, 25.1%)
CIE-LABlab(41.72, 19.79, -55.69)
CIE-LCHlch(41.72, 59.10, 289.57°)
OKLaboklab(50.45% -0.016 -0.1601)
OKLCHoklch(50.45% 0.161 264.3)
XYZxyz(14.7312, 12.3188, 50.8815)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345DBF #BF9634
analogous
#34A3BF #345DBF #5034BF
triadic
#345DBF #BF345D #5DBF34
tetradic
#345DBF #BF34A3 #BF9634 #34BF50
square
#345DBF #BF34A3 #BF9634 #34BF50
split-complementary
#345DBF #BF5034 #A3BF34
monochromatic
#1A2E5F #27468F #345DBF #5D80D3 #8DA6E0

Accessibility & contrast

On white

6.06
#345DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#345DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345DBF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345DBF#FFFFFF#000000##FFFFFF
##345DBF1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F69C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #345dbf;
/* rgb */ color: rgb(52, 93, 191);
/* oklch */ color: oklch(50.5% 0.161 264.3);
Tailwind
colors: {
  custom: {
    50: '#7e8ad3',
    500: '#345dbf',
    950: '#000000',
  },
}
SCSS
$custom: #345dbf;
$custom-light: #7e8ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#345dbf",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 191
  },
  "hsl": {
    "h": 222.302,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50453,
    "c": 0.16092,
    "h": 264.3
  },
  "luminance": 0.1232
}

Semantic roles & 50–950 ramp

primary
#345DBF
secondary
#CAB684
accent
#B347E0
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #345DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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