#345DD7#345DD7

#345DD7 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.3% C 0.193 H 265.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#345DD7
RGBrgb(52, 93, 215)
HSLhsl(225, 67%, 52%)
HSVhsv(225, 76%, 84%)
CMYKcmyk(75.8%, 56.7%, 0%, 15.7%)
CIE-LABlab(43.45, 28.68, -66.71)
CIE-LCHlch(43.45, 72.62, 293.27°)
OKLaboklab(52.31% -0.0141 -0.1925)
OKLCHoklch(52.31% 0.193 265.8)
XYZxyz(17.5920, 13.4631, 65.9483)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345DD7 #D7AE34
analogous
#34AED7 #345DD7 #5D34D7
triadic
#345DD7 #D7345D #5DD734
tetradic
#345DD7 #D734AE #D7AE34 #34D75D
square
#345DD7 #D734AE #D7AE34 #34D75D
split-complementary
#345DD7 #D75D34 #AED734
monochromatic
#183079 #2245AC #345DD7 #6786E1 #9AAFEB

Accessibility & contrast

On white

5.69
#345DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#345DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345DD7
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345DD7#FFFFFF#000000##FFFFFF
##345DD71.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#005FD5
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #345dd7;
/* rgb */ color: rgb(52, 93, 215);
/* oklch */ color: oklch(52.3% 0.193 265.8);
Tailwind
colors: {
  custom: {
    50: '#838ae4',
    500: '#345dd7',
    950: '#000000',
  },
}
SCSS
$custom: #345dd7;
$custom-light: #838ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#345dd7",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 215
  },
  "hsl": {
    "h": 224.908,
    "s": 67.078,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52311,
    "c": 0.19306,
    "h": 265.8
  },
  "luminance": 0.13465
}

Semantic roles & 50–950 ramp

primary
#345DD7
secondary
#D7C590
accent
#BF3EEA
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0C0B16
muted
#7D7C84

Preview Lab

Preview with #345DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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