#345DB1#345DB1

#345DB1 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.4% C 0.142 H 262.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#345DB1
RGBrgb(52, 93, 177)
HSLhsl(220, 55%, 45%)
HSVhsv(220, 71%, 69%)
CMYKcmyk(70.6%, 47.5%, 0%, 30.6%)
CIE-LABlab(40.79, 14.57, -49.00)
CIE-LCHlch(40.79, 51.12, 286.57°)
OKLaboklab(49.44% -0.0178 -0.1404)
OKLCHoklch(49.44% 0.142 262.8)
XYZxyz(13.2635, 11.7317, 43.1519)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345DB1 #B18834
analogous
#349CB1 #345DB1 #4A34B1
triadic
#345DB1 #B1345D #5DB134
tetradic
#345DB1 #B1349C #B18834 #34B14A
square
#345DB1 #B1349C #B18834 #34B14A
split-complementary
#345DB1 #B14A34 #9CB134
monochromatic
#182B52 #264482 #345DB1 #557CCD #84A1DB

Accessibility & contrast

On white

6.28
#345DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #345DB1
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345DB1#FFFFFF#000000##FFFFFF
##345DB11.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3166B4
Deuteranopia (green-blind)
#135BAF
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #345db1;
/* rgb */ color: rgb(52, 93, 177);
/* oklch */ color: oklch(49.4% 0.142 262.8);
Tailwind
colors: {
  custom: {
    50: '#7b8ac9',
    500: '#345db1',
    950: '#000000',
  },
}
SCSS
$custom: #345db1;
$custom-light: #7b8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#345db1",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 177
  },
  "hsl": {
    "h": 220.32,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49443,
    "c": 0.14157,
    "h": 262.8
  },
  "luminance": 0.11733
}

Semantic roles & 50–950 ramp

primary
#345DB1
secondary
#C5AD7C
accent
#AD4ADE
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #345DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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