#345DBC#345DBC

#345DBC is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.2% C 0.157 H 264.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#345DBC
RGBrgb(52, 93, 188)
HSLhsl(222, 57%, 47%)
HSVhsv(222, 72%, 74%)
CMYKcmyk(72.3%, 50.5%, 0%, 26.3%)
CIE-LABlab(41.51, 18.67, -54.27)
CIE-LCHlch(41.51, 57.39, 288.99°)
OKLaboklab(50.23% -0.0163 -0.1559)
OKLCHoklch(50.23% 0.157 264)
XYZxyz(14.4044, 12.1881, 49.1606)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345DBC #BC9334
analogous
#34A1BC #345DBC #4F34BC
triadic
#345DBC #BC345D #5DBC34
tetradic
#345DBC #BC34A1 #BC9334 #34BC4F
square
#345DBC #BC34A1 #BC9334 #34BC4F
split-complementary
#345DBC #BC4F34 #A1BC34
monochromatic
#192E5C #27458C #345DBC #5B7FD2 #8BA5DF

Accessibility & contrast

On white

6.11
#345DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#345DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345DBC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345DBC#FFFFFF#000000##FFFFFF
##345DBC1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2469BF
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #345dbc;
/* rgb */ color: rgb(52, 93, 188);
/* oklch */ color: oklch(50.2% 0.157 264.0);
Tailwind
colors: {
  custom: {
    50: '#7d8ad1',
    500: '#345dbc',
    950: '#000000',
  },
}
SCSS
$custom: #345dbc;
$custom-light: #7d8ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#345dbc",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 188
  },
  "hsl": {
    "h": 221.912,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50232,
    "c": 0.1568,
    "h": 264
  },
  "luminance": 0.1219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #345DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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