#345EBC#345EBC

#345EBC is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.4% C 0.156 H 263.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#345EBC
RGBrgb(52, 94, 188)
HSLhsl(221, 57%, 47%)
HSVhsv(221, 72%, 74%)
CMYKcmyk(72.3%, 50%, 0%, 26.3%)
CIE-LABlab(41.79, 18.03, -53.82)
CIE-LCHlch(41.79, 56.76, 288.52°)
OKLaboklab(50.44% -0.0172 -0.1546)
OKLCHoklch(50.44% 0.156 263.7)
XYZxyz(14.4928, 12.3648, 49.1900)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345EBC #BC9234
analogous
#34A2BC #345EBC #4E34BC
triadic
#345EBC #BC345E #5EBC34
tetradic
#345EBC #BC34A2 #BC9234 #34BC4E
square
#345EBC #BC34A2 #BC9234 #34BC4E
split-complementary
#345EBC #BC4E34 #A2BC34
monochromatic
#192E5C #27468C #345EBC #5B80D2 #8BA5DF

Accessibility & contrast

On white

6.05
#345EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#345EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345EBC
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345EBC#FFFFFF#000000##FFFFFF
##345EBC1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2769BF
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #345ebc;
/* rgb */ color: rgb(52, 94, 188);
/* oklch */ color: oklch(50.4% 0.156 263.7);
Tailwind
colors: {
  custom: {
    50: '#7d8bd1',
    500: '#345ebc',
    950: '#000000',
  },
}
SCSS
$custom: #345ebc;
$custom-light: #7d8bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#345ebc",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 188
  },
  "hsl": {
    "h": 221.471,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50443,
    "c": 0.15557,
    "h": 263.7
  },
  "luminance": 0.12366
}

Semantic roles & 50–950 ramp

primary
#345EBC
secondary
#C9B383
accent
#B148E0
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #345EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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