#345EC0#345EC0

#345EC0 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.7% C 0.161 H 264.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#345EC0
RGBrgb(52, 94, 192)
HSLhsl(222, 57%, 48%)
HSVhsv(222, 73%, 75%)
CMYKcmyk(72.9%, 51%, 0%, 24.7%)
CIE-LABlab(42.06, 19.52, -55.72)
CIE-LCHlch(42.06, 59.03, 289.30°)
OKLaboklab(50.74% -0.0167 -0.1602)
OKLCHoklch(50.74% 0.161 264)
XYZxyz(14.9299, 12.5396, 51.4925)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345EC0 #C09634
analogous
#34A4C0 #345EC0 #5034C0
triadic
#345EC0 #C0345E #5EC034
tetradic
#345EC0 #C034A4 #C09634 #34C050
square
#345EC0 #C034A4 #C09634 #34C050
split-complementary
#345EC0 #C05034 #A4C034
monochromatic
#1A2F60 #274690 #345EC0 #5E81D3 #8EA7E0

Accessibility & contrast

On white

5.99
#345EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#345EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345EC0
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345EC0#FFFFFF#000000##FFFFFF
##345EC01.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216AC4
Deuteranopia (green-blind)
#005DBE
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #345ec0;
/* rgb */ color: rgb(52, 94, 192);
/* oklch */ color: oklch(50.7% 0.161 264.0);
Tailwind
colors: {
  custom: {
    50: '#7e8bd4',
    500: '#345ec0',
    950: '#000000',
  },
}
SCSS
$custom: #345ec0;
$custom-light: #7e8bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#345ec0",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 192
  },
  "hsl": {
    "h": 222,
    "s": 57.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50736,
    "c": 0.16105,
    "h": 264
  },
  "luminance": 0.12541
}

Semantic roles & 50–950 ramp

primary
#345EC0
secondary
#CBB685
accent
#B347E1
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #345EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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