#345BD0#345BD0

#345BD0 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.4% C 0.186 H 266.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#345BD0
RGBrgb(52, 91, 208)
HSLhsl(225, 62%, 51%)
HSVhsv(225, 75%, 82%)
CMYKcmyk(75%, 56.2%, 0%, 18.4%)
CIE-LABlab(42.41, 27.39, -64.40)
CIE-LCHlch(42.41, 69.98, 293.04°)
OKLaboklab(51.36% -0.0131 -0.1858)
OKLCHoklch(51.36% 0.186 266)
XYZxyz(16.5384, 12.7645, 61.2544)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345BD0 #D0A934
analogous
#34A9D0 #345BD0 #5B34D0
triadic
#345BD0 #D0345B #5BD034
tetradic
#345BD0 #D034A9 #D0A934 #34D05B
square
#345BD0 #D034A9 #D0A934 #34D05B
split-complementary
#345BD0 #D05B34 #A9D034
monochromatic
#1A2F70 #2544A1 #345BD0 #6683DC #97ABE7

Accessibility & contrast

On white

5.91
#345BD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#345BD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345BD0
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345BD0#FFFFFF#000000##FFFFFF
##345BD01.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD4
Deuteranopia (green-blind)
#005DCE
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #345bd0;
/* rgb */ color: rgb(52, 91, 208);
/* oklch */ color: oklch(51.4% 0.186 266.0);
Tailwind
colors: {
  custom: {
    50: '#8188df',
    500: '#345bd0',
    950: '#000000',
  },
}
SCSS
$custom: #345bd0;
$custom-light: #8188df;
$custom-dark: #000000;
JSON
{
  "hex": "#345bd0",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 208
  },
  "hsl": {
    "h": 225,
    "s": 62.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5136,
    "c": 0.18625,
    "h": 266
  },
  "luminance": 0.12766
}

Semantic roles & 50–950 ramp

primary
#345BD0
secondary
#D2C18D
accent
#BD42E5
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #345BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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