#345FBC#345FBC

#345FBC is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.7% C 0.154 H 263.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#345FBC
RGBrgb(52, 95, 188)
HSLhsl(221, 57%, 47%)
HSVhsv(221, 72%, 74%)
CMYKcmyk(72.3%, 49.5%, 0%, 26.3%)
CIE-LABlab(42.07, 17.38, -53.38)
CIE-LCHlch(42.07, 56.13, 288.03°)
OKLaboklab(50.65% -0.018 -0.1533)
OKLCHoklch(50.65% 0.154 263.3)
XYZxyz(14.5823, 12.5438, 49.2199)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345FBC #BC9134
analogous
#34A3BC #345FBC #4D34BC
triadic
#345FBC #BC345F #5FBC34
tetradic
#345FBC #BC34A3 #BC9134 #34BC4D
square
#345FBC #BC34A3 #BC9134 #34BC4D
split-complementary
#345FBC #BC4D34 #A3BC34
monochromatic
#192F5C #27478C #345FBC #5B81D2 #8BA6DF

Accessibility & contrast

On white

5.98
#345FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#345FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345FBC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345FBC#FFFFFF#000000##FFFFFF
##345FBC1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296ABF
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #345fbc;
/* rgb */ color: rgb(52, 95, 188);
/* oklch */ color: oklch(50.7% 0.154 263.3);
Tailwind
colors: {
  custom: {
    50: '#7d8bd1',
    500: '#345fbc',
    950: '#000000',
  },
}
SCSS
$custom: #345fbc;
$custom-light: #7d8bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#345fbc",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 221.029,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50654,
    "c": 0.15434,
    "h": 263.3
  },
  "luminance": 0.12545
}

Semantic roles & 50–950 ramp

primary
#345FBC
secondary
#C9B383
accent
#B048E0
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #345FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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