#345ABA#345ABA

#345ABA is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.5% C 0.158 H 264.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#345ABA
RGBrgb(52, 90, 186)
HSLhsl(223, 56%, 47%)
HSVhsv(223, 72%, 73%)
CMYKcmyk(72%, 51.6%, 0%, 27.1%)
CIE-LABlab(40.55, 19.88, -54.66)
CIE-LCHlch(40.55, 58.16, 289.99°)
OKLaboklab(49.46% -0.014 -0.1571)
OKLCHoklch(49.46% 0.158 264.9)
XYZxyz(13.9321, 11.5861, 47.9469)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345ABA #BA9434
analogous
#349DBA #345ABA #5134BA
triadic
#345ABA #BA345A #5ABA34
tetradic
#345ABA #BA349D #BA9434 #34BA51
square
#345ABA #BA349D #BA9434 #34BA51
split-complementary
#345ABA #BA5134 #9DBA34
monochromatic
#192C5A #27438A #345ABA #5A7CD1 #8AA2DE

Accessibility & contrast

On white

6.33
#345ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#345ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345ABA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345ABA#FFFFFF#000000##FFFFFF
##345ABA1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D66BD
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #345aba;
/* rgb */ color: rgb(52, 90, 186);
/* oklch */ color: oklch(49.5% 0.158 264.9);
Tailwind
colors: {
  custom: {
    50: '#7d88cf',
    500: '#345aba',
    950: '#000000',
  },
}
SCSS
$custom: #345aba;
$custom-light: #7d88cf;
$custom-dark: #000000;
JSON
{
  "hex": "#345aba",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 222.985,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49456,
    "c": 0.15776,
    "h": 264.9
  },
  "luminance": 0.11588
}

Semantic roles & 50–950 ramp

primary
#345ABA
secondary
#C8B481
accent
#B548E0
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #345ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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