#345AB6#345AB6

#345AB6 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.2% C 0.152 H 264.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#345AB6
RGBrgb(52, 90, 182)
HSLhsl(222, 56%, 46%)
HSVhsv(222, 71%, 71%)
CMYKcmyk(71.4%, 50.5%, 0%, 28.6%)
CIE-LABlab(40.28, 18.39, -52.76)
CIE-LCHlch(40.28, 55.87, 289.22°)
OKLaboklab(49.16% -0.0145 -0.1515)
OKLCHoklch(49.16% 0.152 264.5)
XYZxyz(13.5129, 11.4184, 45.7387)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345AB6 #B69034
analogous
#349BB6 #345AB6 #4F34B6
triadic
#345AB6 #B6345A #5AB634
tetradic
#345AB6 #B6349B #B69034 #34B64F
square
#345AB6 #B6349B #B69034 #34B64F
split-complementary
#345AB6 #B64F34 #9BB634
monochromatic
#192B57 #264286 #345AB6 #587BCF #88A0DD

Accessibility & contrast

On white

6.39
#345AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#345AB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345AB6
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345AB6#FFFFFF#000000##FFFFFF
##345AB61.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2365B9
Deuteranopia (green-blind)
#0059B4
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #345ab6;
/* rgb */ color: rgb(52, 90, 182);
/* oklch */ color: oklch(49.2% 0.152 264.5);
Tailwind
colors: {
  custom: {
    50: '#7c88cc',
    500: '#345ab6',
    950: '#000000',
  },
}
SCSS
$custom: #345ab6;
$custom-light: #7c88cc;
$custom-dark: #000000;
JSON
{
  "hex": "#345ab6",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 182
  },
  "hsl": {
    "h": 222.462,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4916,
    "c": 0.15224,
    "h": 264.5
  },
  "luminance": 0.1142
}

Semantic roles & 50–950 ramp

primary
#345AB6
secondary
#C7B27F
accent
#B349DF
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #345AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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