#345BA3#345BA3

#345BA3 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.0% C 0.124 H 261.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#345BA3
RGBrgb(52, 91, 163)
HSLhsl(219, 52%, 42%)
HSVhsv(219, 68%, 64%)
CMYKcmyk(68.1%, 44.2%, 0%, 36.1%)
CIE-LABlab(39.34, 10.67, -43.04)
CIE-LCHlch(39.34, 44.34, 283.93°)
OKLaboklab(48.05% -0.0183 -0.1229)
OKLCHoklch(48.05% 0.124 261.5)
XYZxyz(11.7658, 10.8554, 36.1185)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345BA3 #A37C34
analogous
#3493A3 #345BA3 #4534A3
triadic
#345BA3 #A3345B #5BA334
tetradic
#345BA3 #A33493 #A37C34 #34A345
square
#345BA3 #A33493 #A37C34 #34A345
split-complementary
#345BA3 #A34534 #93A334
monochromatic
#162746 #254175 #345BA3 #4E78C6 #7C9BD5

Accessibility & contrast

On white

6.62
#345BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#345BA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345BA3
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345BA3#FFFFFF#000000##FFFFFF
##345BA31.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3962A6
Deuteranopia (green-blind)
#2658A2
Tritanopia (blue-blind)
#006C77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #345ba3;
/* rgb */ color: rgb(52, 91, 163);
/* oklch */ color: oklch(48.0% 0.124 261.5);
Tailwind
colors: {
  custom: {
    50: '#7888bf',
    500: '#345ba3',
    950: '#000000',
  },
}
SCSS
$custom: #345ba3;
$custom-light: #7888bf;
$custom-dark: #000000;
JSON
{
  "hex": "#345ba3",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 163
  },
  "hsl": {
    "h": 218.919,
    "s": 51.628,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48046,
    "c": 0.12431,
    "h": 261.5
  },
  "luminance": 0.10857
}

Semantic roles & 50–950 ramp

primary
#345BA3
secondary
#BEA475
accent
#A94DDB
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #345BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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