#345AD0#345AD0

#345AD0 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.2% C 0.187 H 266.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#345AD0
RGBrgb(52, 90, 208)
HSLhsl(225, 62%, 51%)
HSVhsv(225, 75%, 82%)
CMYKcmyk(75%, 56.7%, 0%, 18.4%)
CIE-LABlab(42.15, 28.03, -64.83)
CIE-LCHlch(42.15, 70.63, 293.38°)
OKLaboklab(51.16% -0.0124 -0.187)
OKLCHoklch(51.16% 0.187 266.2)
XYZxyz(16.4535, 12.5946, 61.2261)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345AD0 #D0AA34
analogous
#34A8D0 #345AD0 #5C34D0
triadic
#345AD0 #D0345A #5AD034
tetradic
#345AD0 #D034A8 #D0AA34 #34D05C
square
#345AD0 #D034A8 #D0AA34 #34D05C
split-complementary
#345AD0 #D05C34 #A8D034
monochromatic
#1A2F70 #2544A1 #345AD0 #6682DC #97ABE7

Accessibility & contrast

On white

5.97
#345AD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #345AD0
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345AD0#FFFFFF#000000##FFFFFF
##345AD01.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#005DCE
Tritanopia (blue-blind)
#00778C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #345ad0;
/* rgb */ color: rgb(52, 90, 208);
/* oklch */ color: oklch(51.2% 0.187 266.2);
Tailwind
colors: {
  custom: {
    50: '#8288df',
    500: '#345ad0',
    950: '#000000',
  },
}
SCSS
$custom: #345ad0;
$custom-light: #8288df;
$custom-dark: #000000;
JSON
{
  "hex": "#345ad0",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 208
  },
  "hsl": {
    "h": 225.385,
    "s": 62.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51164,
    "c": 0.18745,
    "h": 266.2
  },
  "luminance": 0.12596
}

Semantic roles & 50–950 ramp

primary
#345AD0
secondary
#D2C28D
accent
#BE42E5
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #345AD0

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

Preview Lab → · Contrast checker → · Palette generator →

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