#345CC9#345CC9

#345CC9 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.0% C 0.176 H 265.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#345CC9
RGBrgb(52, 92, 201)
HSLhsl(224, 59%, 50%)
HSVhsv(224, 74%, 79%)
CMYKcmyk(74.1%, 54.2%, 0%, 21.2%)
CIE-LABlab(42.15, 24.16, -60.78)
CIE-LCHlch(42.15, 65.40, 291.67°)
OKLaboklab(51.01% -0.0143 -0.1751)
OKLCHoklch(51.01% 0.176 265.3)
XYZxyz(15.7822, 12.5997, 56.8472)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CC9 #C9A134
analogous
#34A6C9 #345CC9 #5734C9
triadic
#345CC9 #C9345C #5CC934
tetradic
#345CC9 #C934A6 #C9A134 #34C957
square
#345CC9 #C934A6 #C9A134 #34C957
split-complementary
#345CC9 #C95734 #A6C934
monochromatic
#1B2F68 #274698 #345CC9 #6382D7 #94A9E3

Accessibility & contrast

On white

5.97
#345CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#345CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345CC9
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CC9#FFFFFF#000000##FFFFFF
##345CC91.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCD
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #345cc9;
/* rgb */ color: rgb(52, 92, 201);
/* oklch */ color: oklch(51.0% 0.176 265.3);
Tailwind
colors: {
  custom: {
    50: '#8089da',
    500: '#345cc9',
    950: '#000000',
  },
}
SCSS
$custom: #345cc9;
$custom-light: #8089da;
$custom-dark: #000000;
JSON
{
  "hex": "#345cc9",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 201
  },
  "hsl": {
    "h": 223.893,
    "s": 58.893,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51007,
    "c": 0.1757,
    "h": 265.3
  },
  "luminance": 0.12601
}

Semantic roles & 50–950 ramp

primary
#345CC9
secondary
#CEBC8A
accent
#B846E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #345CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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