#345BBA#345BBA

#345BBA is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.7% C 0.157 H 264.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#345BBA
RGBrgb(52, 91, 186)
HSLhsl(223, 56%, 47%)
HSVhsv(223, 72%, 73%)
CMYKcmyk(72%, 51.1%, 0%, 27.1%)
CIE-LABlab(40.83, 19.23, -54.21)
CIE-LCHlch(40.83, 57.52, 289.53°)
OKLaboklab(49.67% -0.0149 -0.1558)
OKLCHoklch(49.67% 0.157 264.6)
XYZxyz(14.0171, 11.7559, 47.9752)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345BBA #BA9334
analogous
#349EBA #345BBA #5034BA
triadic
#345BBA #BA345B #5BBA34
tetradic
#345BBA #BA349E #BA9334 #34BA50
square
#345BBA #BA349E #BA9334 #34BA50
split-complementary
#345BBA #BA5034 #9EBA34
monochromatic
#192C5A #27448A #345BBA #5A7DD1 #8AA3DE

Accessibility & contrast

On white

6.27
#345BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #345BBA
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345BBA#FFFFFF#000000##FFFFFF
##345BBA1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2067BD
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #345bba;
/* rgb */ color: rgb(52, 91, 186);
/* oklch */ color: oklch(49.7% 0.157 264.6);
Tailwind
colors: {
  custom: {
    50: '#7d88cf',
    500: '#345bba',
    950: '#000000',
  },
}
SCSS
$custom: #345bba;
$custom-light: #7d88cf;
$custom-dark: #000000;
JSON
{
  "hex": "#345bba",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 186
  },
  "hsl": {
    "h": 222.537,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49665,
    "c": 0.15653,
    "h": 264.6
  },
  "luminance": 0.11757
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #345BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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