#345EB7#345EB7

#345EB7 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.1% C 0.149 H 263.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#345EB7
RGBrgb(52, 94, 183)
HSLhsl(221, 56%, 46%)
HSVhsv(221, 72%, 72%)
CMYKcmyk(71.6%, 48.6%, 0%, 28.2%)
CIE-LABlab(41.46, 16.16, -51.44)
CIE-LCHlch(41.46, 53.92, 287.44°)
OKLaboklab(50.08% -0.0178 -0.1476)
OKLCHoklch(50.08% 0.149 263.1)
XYZxyz(13.9631, 12.1529, 46.4004)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345EB7 #B78D34
analogous
#349FB7 #345EB7 #4B34B7
triadic
#345EB7 #B7345E #5EB734
tetradic
#345EB7 #B7349F #B78D34 #34B74B
square
#345EB7 #B7349F #B78D34 #34B74B
split-complementary
#345EB7 #B74B34 #9FB734
monochromatic
#192D58 #264687 #345EB7 #597FD0 #88A3DD

Accessibility & contrast

On white

6.12
#345EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#345EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345EB7
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345EB7#FFFFFF#000000##FFFFFF
##345EB71.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D68BA
Deuteranopia (green-blind)
#035CB5
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #345eb7;
/* rgb */ color: rgb(52, 94, 183);
/* oklch */ color: oklch(50.1% 0.149 263.1);
Tailwind
colors: {
  custom: {
    50: '#7c8bcd',
    500: '#345eb7',
    950: '#000000',
  },
}
SCSS
$custom: #345eb7;
$custom-light: #7c8bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#345eb7",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 183
  },
  "hsl": {
    "h": 220.763,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50083,
    "c": 0.14867,
    "h": 263.1
  },
  "luminance": 0.12154
}

Semantic roles & 50–950 ramp

primary
#345EB7
secondary
#C7B080
accent
#AF49DF
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #345EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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