#345DB2#345DB2

#345DB2 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.5% C 0.143 H 262.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#345DB2
RGBrgb(52, 93, 178)
HSLhsl(220, 55%, 45%)
HSVhsv(220, 71%, 70%)
CMYKcmyk(70.8%, 47.8%, 0%, 30.2%)
CIE-LABlab(40.85, 14.95, -49.48)
CIE-LCHlch(40.85, 51.69, 286.81°)
OKLaboklab(49.51% -0.0177 -0.1419)
OKLCHoklch(49.51% 0.143 262.9)
XYZxyz(13.3636, 11.7717, 43.6787)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345DB2 #B28934
analogous
#349CB2 #345DB2 #4A34B2
triadic
#345DB2 #B2345D #5DB234
tetradic
#345DB2 #B2349C #B28934 #34B24A
square
#345DB2 #B2349C #B28934 #34B24A
split-complementary
#345DB2 #B24A34 #9CB234
monochromatic
#182C53 #264483 #345DB2 #567DCE #85A1DB

Accessibility & contrast

On white

6.26
#345DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#345DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345DB2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345DB2#FFFFFF#000000##FFFFFF
##345DB21.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3066B5
Deuteranopia (green-blind)
#105BB0
Tritanopia (blue-blind)
#00717F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #345db2;
/* rgb */ color: rgb(52, 93, 178);
/* oklch */ color: oklch(49.5% 0.143 262.9);
Tailwind
colors: {
  custom: {
    50: '#7b8ac9',
    500: '#345db2',
    950: '#000000',
  },
}
SCSS
$custom: #345db2;
$custom-light: #7b8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#345db2",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 220.476,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49514,
    "c": 0.14296,
    "h": 262.9
  },
  "luminance": 0.11773
}

Semantic roles & 50–950 ramp

primary
#345DB2
secondary
#C5AE7D
accent
#AE4ADE
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #345DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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