#345DB3#345DB3

#345DB3 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.6% C 0.144 H 263.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#345DB3
RGBrgb(52, 93, 179)
HSLhsl(221, 55%, 45%)
HSVhsv(221, 71%, 70%)
CMYKcmyk(70.9%, 48%, 0%, 29.8%)
CIE-LABlab(40.92, 15.32, -49.97)
CIE-LCHlch(40.92, 52.26, 287.05°)
OKLaboklab(49.58% -0.0175 -0.1433)
OKLCHoklch(49.58% 0.144 263)
XYZxyz(13.4643, 11.8120, 44.2094)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345DB3 #B38A34
analogous
#349CB3 #345DB3 #4B34B3
triadic
#345DB3 #B3345D #5DB334
tetradic
#345DB3 #B3349C #B38A34 #34B34B
square
#345DB3 #B3349C #B38A34 #34B34B
split-complementary
#345DB3 #B34B34 #9CB334
monochromatic
#182C54 #264484 #345DB3 #567DCE #86A1DC

Accessibility & contrast

On white

6.25
#345DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#345DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345DB3
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345DB3#FFFFFF#000000##FFFFFF
##345DB31.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F67B6
Deuteranopia (green-blind)
#0D5BB1
Tritanopia (blue-blind)
#00717F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #345db3;
/* rgb */ color: rgb(52, 93, 179);
/* oklch */ color: oklch(49.6% 0.144 263.0);
Tailwind
colors: {
  custom: {
    50: '#7b8aca',
    500: '#345db3',
    950: '#000000',
  },
}
SCSS
$custom: #345db3;
$custom-light: #7b8aca;
$custom-dark: #000000;
JSON
{
  "hex": "#345db3",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 179
  },
  "hsl": {
    "h": 220.63,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49584,
    "c": 0.14435,
    "h": 263
  },
  "luminance": 0.11813
}

Semantic roles & 50–950 ramp

primary
#345DB3
secondary
#C5AE7D
accent
#AE49DE
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #345DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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