#345FD7#345FD7

#345FD7 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.7% C 0.191 H 265.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#345FD7
RGBrgb(52, 95, 215)
HSLhsl(224, 67%, 52%)
HSVhsv(224, 76%, 84%)
CMYKcmyk(75.8%, 55.8%, 0%, 15.7%)
CIE-LABlab(43.97, 27.40, -65.87)
CIE-LCHlch(43.97, 71.34, 292.59°)
OKLaboklab(52.7% -0.0155 -0.19)
OKLCHoklch(52.7% 0.191 265.3)
XYZxyz(17.7698, 13.8188, 66.0076)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345FD7 #D7AC34
analogous
#34B0D7 #345FD7 #5B34D7
triadic
#345FD7 #D7345F #5FD734
tetradic
#345FD7 #D734B0 #D7AC34 #34D75B
square
#345FD7 #D734B0 #D7AC34 #34D75B
split-complementary
#345FD7 #D75B34 #B0D734
monochromatic
#183179 #2246AC #345FD7 #6787E1 #9AB0EB

Accessibility & contrast

On white

5.58
#345FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#345FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345FD7
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345FD7#FFFFFF#000000##FFFFFF
##345FD71.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#0061D5
Tritanopia (blue-blind)
#007D92
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #345fd7;
/* rgb */ color: rgb(52, 95, 215);
/* oklch */ color: oklch(52.7% 0.191 265.3);
Tailwind
colors: {
  custom: {
    50: '#838be4',
    500: '#345fd7',
    950: '#000000',
  },
}
SCSS
$custom: #345fd7;
$custom-light: #838be4;
$custom-dark: #000000;
JSON
{
  "hex": "#345fd7",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 224.172,
    "s": 67.078,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52701,
    "c": 0.19066,
    "h": 265.3
  },
  "luminance": 0.13821
}

Semantic roles & 50–950 ramp

primary
#345FD7
secondary
#D7C490
accent
#BD3EEA
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0C0C16
muted
#7D7D84

Preview Lab

Preview with #345FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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