#345ABE#345ABE

#345ABE is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.8% C 0.163 H 265.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#345ABE
RGBrgb(52, 90, 190)
HSLhsl(223, 57%, 47%)
HSVhsv(223, 73%, 75%)
CMYKcmyk(72.6%, 52.6%, 0%, 25.5%)
CIE-LABlab(40.83, 21.37, -56.54)
CIE-LCHlch(40.83, 60.44, 290.70°)
OKLaboklab(49.76% -0.0136 -0.1627)
OKLCHoklch(49.76% 0.163 265.2)
XYZxyz(14.3633, 11.7586, 50.2179)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345ABE #BE9834
analogous
#349FBE #345ABE #5334BE
triadic
#345ABE #BE345A #5ABE34
tetradic
#345ABE #BE349F #BE9834 #34BE53
square
#345ABE #BE349F #BE9834 #34BE53
split-complementary
#345ABE #BE5334 #9FBE34
monochromatic
#1A2C5E #27438E #345ABE #5D7DD3 #8DA4E0

Accessibility & contrast

On white

6.26
#345ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#345ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345ABE
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345ABE#FFFFFF#000000##FFFFFF
##345ABE1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1567C2
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #345abe;
/* rgb */ color: rgb(52, 90, 190);
/* oklch */ color: oklch(49.8% 0.163 265.2);
Tailwind
colors: {
  custom: {
    50: '#7e88d2',
    500: '#345abe',
    950: '#000000',
  },
}
SCSS
$custom: #345abe;
$custom-light: #7e88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#345abe",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 223.478,
    "s": 57.025,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49756,
    "c": 0.16325,
    "h": 265.2
  },
  "luminance": 0.1176
}

Semantic roles & 50–950 ramp

primary
#345ABE
secondary
#CAB784
accent
#B648E0
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #345ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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