#345BB4#345BB4

#345BB4 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.2% C 0.148 H 264.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#345BB4
RGBrgb(52, 91, 180)
HSLhsl(222, 55%, 45%)
HSVhsv(222, 71%, 71%)
CMYKcmyk(71.1%, 49.4%, 0%, 29.4%)
CIE-LABlab(40.42, 16.99, -51.35)
CIE-LCHlch(40.42, 54.09, 288.31°)
OKLaboklab(49.23% -0.0156 -0.1474)
OKLCHoklch(49.23% 0.148 264)
XYZxyz(13.3926, 11.5061, 44.6863)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345BB4 #B48D34
analogous
#349BB4 #345BB4 #4D34B4
triadic
#345BB4 #B4345B #5BB434
tetradic
#345BB4 #B4349B #B48D34 #34B44D
square
#345BB4 #B4349B #B48D34 #34B44D
split-complementary
#345BB4 #B44D34 #9BB434
monochromatic
#192B55 #264385 #345BB4 #577BCE #86A0DC

Accessibility & contrast

On white

6.36
#345BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#345BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345BB4
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345BB4#FFFFFF#000000##FFFFFF
##345BB41.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2965B7
Deuteranopia (green-blind)
#005AB2
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #345bb4;
/* rgb */ color: rgb(52, 91, 180);
/* oklch */ color: oklch(49.2% 0.148 264.0);
Tailwind
colors: {
  custom: {
    50: '#7b88cb',
    500: '#345bb4',
    950: '#000000',
  },
}
SCSS
$custom: #345bb4;
$custom-light: #7b88cb;
$custom-dark: #000000;
JSON
{
  "hex": "#345bb4",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 180
  },
  "hsl": {
    "h": 221.719,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49226,
    "c": 0.14821,
    "h": 264
  },
  "luminance": 0.11508
}

Semantic roles & 50–950 ramp

primary
#345BB4
secondary
#C6B07E
accent
#B149DF
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #345BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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