#345AC7#345AC7

#345AC7 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.4% C 0.175 H 265.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#345AC7
RGBrgb(52, 90, 199)
HSLhsl(224, 59%, 49%)
HSVhsv(224, 74%, 78%)
CMYKcmyk(73.9%, 54.8%, 0%, 22%)
CIE-LABlab(41.48, 24.71, -60.72)
CIE-LCHlch(41.48, 65.56, 292.14°)
OKLaboklab(50.45% -0.0129 -0.175)
OKLCHoklch(50.45% 0.175 265.8)
XYZxyz(15.3775, 12.1642, 55.5593)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345AC7 #C7A134
analogous
#34A4C7 #345AC7 #5834C7
triadic
#345AC7 #C7345A #5AC734
tetradic
#345AC7 #C734A4 #C7A134 #34C758
square
#345AC7 #C734A4 #C7A134 #34C758
split-complementary
#345AC7 #C75834 #A4C734
monochromatic
#1B2E66 #274496 #345AC7 #6280D6 #93A7E3

Accessibility & contrast

On white

6.12
#345AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#345AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345AC7
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345AC7#FFFFFF#000000##FFFFFF
##345AC71.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#007588
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #345ac7;
/* rgb */ color: rgb(52, 90, 199);
/* oklch */ color: oklch(50.4% 0.175 265.8);
Tailwind
colors: {
  custom: {
    50: '#8088d9',
    500: '#345ac7',
    950: '#000000',
  },
}
SCSS
$custom: #345ac7;
$custom-light: #8088d9;
$custom-dark: #000000;
JSON
{
  "hex": "#345ac7",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 199
  },
  "hsl": {
    "h": 224.49,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50449,
    "c": 0.17545,
    "h": 265.8
  },
  "luminance": 0.12166
}

Semantic roles & 50–950 ramp

primary
#345AC7
secondary
#CEBC89
accent
#BA46E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #345AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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