#345BAC#345BAC

#345BAC is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.7% C 0.137 H 263.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#345BAC
RGBrgb(52, 91, 172)
HSLhsl(221, 54%, 44%)
HSVhsv(221, 70%, 67%)
CMYKcmyk(69.8%, 47.1%, 0%, 32.5%)
CIE-LABlab(39.90, 14.01, -47.48)
CIE-LCHlch(39.90, 49.50, 286.44°)
OKLaboklab(48.66% -0.0168 -0.136)
OKLCHoklch(48.66% 0.137 263)
XYZxyz(12.6010, 11.1895, 40.5174)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345BAC #AC8534
analogous
#3497AC #345BAC #4934AC
triadic
#345BAC #AC345B #5BAC34
tetradic
#345BAC #AC3497 #AC8534 #34AC49
square
#345BAC #AC3497 #AC8534 #34AC49
split-complementary
#345BAC #AC4934 #97AC34
monochromatic
#18294E #26427D #345BAC #527ACB #819ED9

Accessibility & contrast

On white

6.49
#345BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#345BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345BAC
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345BAC#FFFFFF#000000##FFFFFF
##345BAC1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3164AF
Deuteranopia (green-blind)
#1759AA
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #345bac;
/* rgb */ color: rgb(52, 91, 172);
/* oklch */ color: oklch(48.7% 0.137 263.0);
Tailwind
colors: {
  custom: {
    50: '#7a88c5',
    500: '#345bac',
    950: '#000000',
  },
}
SCSS
$custom: #345bac;
$custom-light: #7a88c5;
$custom-dark: #000000;
JSON
{
  "hex": "#345bac",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 172
  },
  "hsl": {
    "h": 220.5,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48659,
    "c": 0.13703,
    "h": 263
  },
  "luminance": 0.11191
}

Semantic roles & 50–950 ramp

primary
#345BAC
secondary
#C2AB79
accent
#AD4BDD
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #345BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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