#345ED7#345ED7

#345ED7 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.5% C 0.192 H 265.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#345ED7
RGBrgb(52, 94, 215)
HSLhsl(225, 67%, 52%)
HSVhsv(225, 76%, 84%)
CMYKcmyk(75.8%, 56.3%, 0%, 15.7%)
CIE-LABlab(43.71, 28.04, -66.29)
CIE-LCHlch(43.71, 71.98, 292.93°)
OKLaboklab(52.51% -0.0148 -0.1913)
OKLCHoklch(52.51% 0.192 265.6)
XYZxyz(17.6803, 13.6398, 65.9777)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345ED7 #D7AD34
analogous
#34AFD7 #345ED7 #5C34D7
triadic
#345ED7 #D7345E #5ED734
tetradic
#345ED7 #D734AF #D7AD34 #34D75C
square
#345ED7 #D734AF #D7AD34 #34D75C
split-complementary
#345ED7 #D75C34 #AFD734
monochromatic
#183179 #2245AC #345ED7 #6787E1 #9AAFEB

Accessibility & contrast

On white

5.63
#345ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#345ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345ED7
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345ED7#FFFFFF#000000##FFFFFF
##345ED71.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#0060D5
Tritanopia (blue-blind)
#007C91
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #345ed7;
/* rgb */ color: rgb(52, 94, 215);
/* oklch */ color: oklch(52.5% 0.192 265.6);
Tailwind
colors: {
  custom: {
    50: '#838be4',
    500: '#345ed7',
    950: '#000000',
  },
}
SCSS
$custom: #345ed7;
$custom-light: #838be4;
$custom-dark: #000000;
JSON
{
  "hex": "#345ed7",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 215
  },
  "hsl": {
    "h": 224.54,
    "s": 67.078,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52506,
    "c": 0.19186,
    "h": 265.6
  },
  "luminance": 0.13642
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #345ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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