#345BCD#345BCD

#345BCD is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.1% C 0.182 H 265.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#345BCD
RGBrgb(52, 91, 205)
HSLhsl(225, 60%, 50%)
HSVhsv(225, 75%, 80%)
CMYKcmyk(74.6%, 55.6%, 0%, 19.6%)
CIE-LABlab(42.18, 26.28, -63.04)
CIE-LCHlch(42.18, 68.30, 292.63°)
OKLaboklab(51.12% -0.0132 -0.1818)
OKLCHoklch(51.12% 0.182 265.8)
XYZxyz(16.1728, 12.6182, 59.3290)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345BCD #CDA634
analogous
#34A7CD #345BCD #5934CD
triadic
#345BCD #CD345B #5BCD34
tetradic
#345BCD #CD34A7 #CDA634 #34CD59
square
#345BCD #CD34A7 #CDA634 #34CD59
split-complementary
#345BCD #CD5934 #A7CD34
monochromatic
#1B2F6C #27459D #345BCD #6583D9 #96AAE5

Accessibility & contrast

On white

5.96
#345BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#345BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345BCD
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345BCD#FFFFFF#000000##FFFFFF
##345BCD1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#00778B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #345bcd;
/* rgb */ color: rgb(52, 91, 205);
/* oklch */ color: oklch(51.1% 0.182 265.8);
Tailwind
colors: {
  custom: {
    50: '#8188dd',
    500: '#345bcd',
    950: '#000000',
  },
}
SCSS
$custom: #345bcd;
$custom-light: #8188dd;
$custom-dark: #000000;
JSON
{
  "hex": "#345bcd",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 205
  },
  "hsl": {
    "h": 224.706,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51121,
    "c": 0.18226,
    "h": 265.8
  },
  "luminance": 0.1262
}

Semantic roles & 50–950 ramp

primary
#345BCD
secondary
#D1BF8C
accent
#BB44E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #345BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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