#345EB4#345EB4

#345EB4 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.9% C 0.145 H 262.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#345EB4
RGBrgb(52, 94, 180)
HSLhsl(220, 55%, 45%)
HSVhsv(220, 71%, 71%)
CMYKcmyk(71.1%, 47.8%, 0%, 29.4%)
CIE-LABlab(41.26, 15.04, -50.00)
CIE-LCHlch(41.26, 52.21, 286.75°)
OKLaboklab(49.87% -0.0183 -0.1433)
OKLCHoklch(49.87% 0.145 262.7)
XYZxyz(13.6542, 12.0293, 44.7735)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345EB4 #B48A34
analogous
#349EB4 #345EB4 #4A34B4
triadic
#345EB4 #B4345E #5EB434
tetradic
#345EB4 #B4349E #B48A34 #34B44A
square
#345EB4 #B4349E #B48A34 #34B44A
split-complementary
#345EB4 #B44A34 #9EB434
monochromatic
#192C55 #264585 #345EB4 #577ECE #86A2DC

Accessibility & contrast

On white

6.17
#345EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #345EB4
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345EB4#FFFFFF#000000##FFFFFF
##345EB41.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3068B7
Deuteranopia (green-blind)
#0F5CB2
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #345eb4;
/* rgb */ color: rgb(52, 94, 180);
/* oklch */ color: oklch(49.9% 0.145 262.7);
Tailwind
colors: {
  custom: {
    50: '#7b8bcb',
    500: '#345eb4',
    950: '#000000',
  },
}
SCSS
$custom: #345eb4;
$custom-light: #7b8bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#345eb4",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 180
  },
  "hsl": {
    "h": 220.313,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49871,
    "c": 0.14451,
    "h": 262.7
  },
  "luminance": 0.12031
}

Semantic roles & 50–950 ramp

primary
#345EB4
secondary
#C6AE7E
accent
#AE49DF
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #345EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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