#345ABD#345ABD

#345ABD is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.7% C 0.162 H 265.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#345ABD
RGBrgb(52, 90, 189)
HSLhsl(223, 57%, 47%)
HSVhsv(223, 72%, 74%)
CMYKcmyk(72.5%, 52.4%, 0%, 25.9%)
CIE-LABlab(40.76, 21.00, -56.07)
CIE-LCHlch(40.76, 59.87, 290.53°)
OKLaboklab(49.68% -0.0137 -0.1613)
OKLCHoklch(49.68% 0.162 265.1)
XYZxyz(14.2544, 11.7150, 49.6442)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345ABD #BD9734
analogous
#349EBD #345ABD #5334BD
triadic
#345ABD #BD345A #5ABD34
tetradic
#345ABD #BD349E #BD9734 #34BD53
square
#345ABD #BD349E #BD9734 #34BD53
split-complementary
#345ABD #BD5334 #9EBD34
monochromatic
#1A2C5D #27438D #345ABD #5C7DD2 #8CA3DF

Accessibility & contrast

On white

6.28
#345ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#345ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345ABD
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345ABD#FFFFFF#000000##FFFFFF
##345ABD1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1767C1
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #345abd;
/* rgb */ color: rgb(52, 90, 189);
/* oklch */ color: oklch(49.7% 0.162 265.1);
Tailwind
colors: {
  custom: {
    50: '#7d88d2',
    500: '#345abd',
    950: '#000000',
  },
}
SCSS
$custom: #345abd;
$custom-light: #7d88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#345abd",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 189
  },
  "hsl": {
    "h": 223.358,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49681,
    "c": 0.16188,
    "h": 265.1
  },
  "luminance": 0.11717
}

Semantic roles & 50–950 ramp

primary
#345ABD
secondary
#CAB683
accent
#B648E0
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #345ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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