#345EB5#345EB5

#345EB5 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 49.9% C 0.146 H 262.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#345EB5
RGBrgb(52, 94, 181)
HSLhsl(220, 55%, 46%)
HSVhsv(220, 71%, 71%)
CMYKcmyk(71.3%, 48.1%, 0%, 29%)
CIE-LABlab(41.33, 15.42, -50.48)
CIE-LCHlch(41.33, 52.78, 286.98°)
OKLaboklab(49.94% -0.0181 -0.1448)
OKLCHoklch(49.94% 0.146 262.9)
XYZxyz(13.7564, 12.0702, 45.3119)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345EB5 #B58B34
analogous
#349EB5 #345EB5 #4A34B5
triadic
#345EB5 #B5345E #5EB534
tetradic
#345EB5 #B5349E #B58B34 #34B54A
square
#345EB5 #B5349E #B58B34 #34B54A
split-complementary
#345EB5 #B54A34 #9EB534
monochromatic
#192D56 #264585 #345EB5 #577ECF #87A3DC

Accessibility & contrast

On white

6.15
#345EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#345EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345EB5
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345EB5#FFFFFF#000000##FFFFFF
##345EB51.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F68B8
Deuteranopia (green-blind)
#0C5CB3
Tritanopia (blue-blind)
#007281
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #345eb5;
/* rgb */ color: rgb(52, 94, 181);
/* oklch */ color: oklch(49.9% 0.146 262.9);
Tailwind
colors: {
  custom: {
    50: '#7b8bcc',
    500: '#345eb5',
    950: '#000000',
  },
}
SCSS
$custom: #345eb5;
$custom-light: #7b8bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#345eb5",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 181
  },
  "hsl": {
    "h": 220.465,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49941,
    "c": 0.1459,
    "h": 262.9
  },
  "luminance": 0.12072
}

Semantic roles & 50–950 ramp

primary
#345EB5
secondary
#C6AF7F
accent
#AE49DF
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #345EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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