#345BA0#345BA0

#345BA0 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.8% C 0.120 H 260.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#345BA0
RGBrgb(52, 91, 160)
HSLhsl(218, 51%, 42%)
HSVhsv(218, 68%, 63%)
CMYKcmyk(67.5%, 43.1%, 0%, 37.3%)
CIE-LABlab(39.15, 9.56, -41.54)
CIE-LCHlch(39.15, 42.63, 282.97°)
OKLaboklab(47.85% -0.0189 -0.1185)
OKLCHoklch(47.85% 0.12 260.9)
XYZxyz(11.5002, 10.7492, 34.7196)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345BA0 #A07934
analogous
#3491A0 #345BA0 #4334A0
triadic
#345BA0 #A0345B #5BA034
tetradic
#345BA0 #A03491 #A07934 #34A043
square
#345BA0 #A03491 #A07934 #34A043
split-complementary
#345BA0 #A04334 #91A034
monochromatic
#162644 #254172 #345BA0 #4C78C5 #7A9BD4

Accessibility & contrast

On white

6.67
#345BA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#345BA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345BA0
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345BA0#FFFFFF#000000##FFFFFF
##345BA01.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B62A3
Deuteranopia (green-blind)
#29589F
Tritanopia (blue-blind)
#006B75
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #345ba0;
/* rgb */ color: rgb(52, 91, 160);
/* oklch */ color: oklch(47.8% 0.120 260.9);
Tailwind
colors: {
  custom: {
    50: '#7788bc',
    500: '#345ba0',
    950: '#000000',
  },
}
SCSS
$custom: #345ba0;
$custom-light: #7788bc;
$custom-dark: #000000;
JSON
{
  "hex": "#345ba0",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 160
  },
  "hsl": {
    "h": 218.333,
    "s": 50.943,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47847,
    "c": 0.12005,
    "h": 260.9
  },
  "luminance": 0.1075
}

Semantic roles & 50–950 ramp

primary
#345BA0
secondary
#BDA273
accent
#A74DDA
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #345BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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