#345DC8#345DC8

#345DC8 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.1% C 0.173 H 265.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#345DC8
RGBrgb(52, 93, 200)
HSLhsl(223, 59%, 49%)
HSVhsv(223, 74%, 78%)
CMYKcmyk(74%, 53.5%, 0%, 21.6%)
CIE-LABlab(42.35, 23.14, -59.88)
CIE-LCHlch(42.35, 64.20, 291.13°)
OKLaboklab(51.13% -0.0151 -0.1725)
OKLCHoklch(51.13% 0.173 265)
XYZxyz(15.7522, 12.7272, 56.2588)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345DC8 #C89F34
analogous
#34A7C8 #345DC8 #5534C8
triadic
#345DC8 #C8345D #5DC834
tetradic
#345DC8 #C834A7 #C89F34 #34C855
square
#345DC8 #C834A7 #C89F34 #34C855
split-complementary
#345DC8 #C85534 #A7C834
monochromatic
#1B3067 #274697 #345DC8 #6383D6 #93A9E3

Accessibility & contrast

On white

5.92
#345DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#345DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345DC8
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345DC8#FFFFFF#000000##FFFFFF
##345DC81.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#076BCC
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #345dc8;
/* rgb */ color: rgb(52, 93, 200);
/* oklch */ color: oklch(51.1% 0.173 265.0);
Tailwind
colors: {
  custom: {
    50: '#808ad9',
    500: '#345dc8',
    950: '#000000',
  },
}
SCSS
$custom: #345dc8;
$custom-light: #808ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#345dc8",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 200
  },
  "hsl": {
    "h": 223.378,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51132,
    "c": 0.17313,
    "h": 265
  },
  "luminance": 0.12729
}

Semantic roles & 50–950 ramp

primary
#345DC8
secondary
#CEBB8A
accent
#B746E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #345DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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