#345CBC#345CBC

#345CBC is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.0% C 0.158 H 264.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#345CBC
RGBrgb(52, 92, 188)
HSLhsl(222, 57%, 47%)
HSVhsv(222, 72%, 74%)
CMYKcmyk(72.3%, 51.1%, 0%, 26.3%)
CIE-LABlab(41.24, 19.32, -54.72)
CIE-LCHlch(41.24, 58.03, 289.45°)
OKLaboklab(50.02% -0.0155 -0.1573)
OKLCHoklch(50.02% 0.158 264.4)
XYZxyz(14.3172, 12.0137, 49.1315)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CBC #BC9434
analogous
#34A0BC #345CBC #5034BC
triadic
#345CBC #BC345C #5CBC34
tetradic
#345CBC #BC34A0 #BC9434 #34BC50
square
#345CBC #BC34A0 #BC9434 #34BC50
split-complementary
#345CBC #BC5034 #A0BC34
monochromatic
#192D5C #27458C #345CBC #5B7ED2 #8BA4DF

Accessibility & contrast

On white

6.17
#345CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#345CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345CBC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CBC#FFFFFF#000000##FFFFFF
##345CBC1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2168BF
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #345cbc;
/* rgb */ color: rgb(52, 92, 188);
/* oklch */ color: oklch(50.0% 0.158 264.4);
Tailwind
colors: {
  custom: {
    50: '#7d89d1',
    500: '#345cbc',
    950: '#000000',
  },
}
SCSS
$custom: #345cbc;
$custom-light: #7d89d1;
$custom-dark: #000000;
JSON
{
  "hex": "#345cbc",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 188
  },
  "hsl": {
    "h": 222.353,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50022,
    "c": 0.15804,
    "h": 264.4
  },
  "luminance": 0.12015
}

Semantic roles & 50–950 ramp

primary
#345CBC
secondary
#C9B483
accent
#B348E0
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #345CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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