#345AB2#345AB2

#345AB2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.9% C 0.147 H 264.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#345AB2
RGBrgb(52, 90, 178)
HSLhsl(222, 55%, 45%)
HSVhsv(222, 71%, 70%)
CMYKcmyk(70.8%, 49.4%, 0%, 30.2%)
CIE-LABlab(40.01, 16.90, -50.84)
CIE-LCHlch(40.01, 53.58, 288.39°)
OKLaboklab(48.87% -0.015 -0.1459)
OKLCHoklch(48.87% 0.147 264.1)
XYZxyz(13.1054, 11.2554, 43.5927)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345AB2 #B28C34
analogous
#3499B2 #345AB2 #4D34B2
triadic
#345AB2 #B2345A #5AB234
tetradic
#345AB2 #B23499 #B28C34 #34B24D
square
#345AB2 #B23499 #B28C34 #34B24D
split-complementary
#345AB2 #B24D34 #99B234
monochromatic
#182A53 #264283 #345AB2 #567ACE #859FDB

Accessibility & contrast

On white

6.46
#345AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#345AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345AB2
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345AB2#FFFFFF#000000##FFFFFF
##345AB21.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2864B5
Deuteranopia (green-blind)
#0059B0
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #345ab2;
/* rgb */ color: rgb(52, 90, 178);
/* oklch */ color: oklch(48.9% 0.147 264.1);
Tailwind
colors: {
  custom: {
    50: '#7b88ca',
    500: '#345ab2',
    950: '#000000',
  },
}
SCSS
$custom: #345ab2;
$custom-light: #7b88ca;
$custom-dark: #000000;
JSON
{
  "hex": "#345ab2",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 178
  },
  "hsl": {
    "h": 221.905,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48868,
    "c": 0.14668,
    "h": 264.1
  },
  "luminance": 0.11257
}

Semantic roles & 50–950 ramp

primary
#345AB2
secondary
#C5AF7D
accent
#B14ADE
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #345AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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