#345EB8#345EB8

#345EB8 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.2% C 0.150 H 263.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#345EB8
RGBrgb(52, 94, 184)
HSLhsl(221, 56%, 46%)
HSVhsv(221, 72%, 72%)
CMYKcmyk(71.7%, 48.9%, 0%, 27.8%)
CIE-LABlab(41.52, 16.53, -51.92)
CIE-LCHlch(41.52, 54.49, 287.66°)
OKLaboklab(50.15% -0.0177 -0.149)
OKLCHoklch(50.15% 0.15 263.2)
XYZxyz(14.0675, 12.1947, 46.9505)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345EB8 #B88E34
analogous
#34A0B8 #345EB8 #4C34B8
triadic
#345EB8 #B8345E #5EB834
tetradic
#345EB8 #B834A0 #B88E34 #34B84C
square
#345EB8 #B834A0 #B88E34 #34B84C
split-complementary
#345EB8 #B84C34 #A0B834
monochromatic
#192D59 #274688 #345EB8 #597FD0 #89A4DE

Accessibility & contrast

On white

6.11
#345EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#345EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345EB8
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345EB8#FFFFFF#000000##FFFFFF
##345EB81.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C68BB
Deuteranopia (green-blind)
#005CB6
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #345eb8;
/* rgb */ color: rgb(52, 94, 184);
/* oklch */ color: oklch(50.2% 0.150 263.2);
Tailwind
colors: {
  custom: {
    50: '#7c8bce',
    500: '#345eb8',
    950: '#000000',
  },
}
SCSS
$custom: #345eb8;
$custom-light: #7c8bce;
$custom-dark: #000000;
JSON
{
  "hex": "#345eb8",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 184
  },
  "hsl": {
    "h": 220.909,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50154,
    "c": 0.15006,
    "h": 263.2
  },
  "luminance": 0.12196
}

Semantic roles & 50–950 ramp

primary
#345EB8
secondary
#C8B180
accent
#AF49DF
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #345EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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