#345AB7#345AB7

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

Color values

HEX#345AB7
RGBrgb(52, 90, 183)
HSLhsl(223, 56%, 46%)
HSVhsv(223, 72%, 72%)
CMYKcmyk(71.6%, 50.8%, 0%, 28.2%)
CIE-LABlab(40.34, 18.76, -53.23)
CIE-LCHlch(40.34, 56.44, 289.41°)
OKLaboklab(49.23% -0.0143 -0.1529)
OKLCHoklch(49.23% 0.154 264.6)
XYZxyz(13.6166, 11.4599, 46.2849)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345AB7 #B79134
analogous
#349BB7 #345AB7 #4F34B7
triadic
#345AB7 #B7345A #5AB734
tetradic
#345AB7 #B7349B #B79134 #34B74F
square
#345AB7 #B7349B #B79134 #34B74F
split-complementary
#345AB7 #B74F34 #9BB734
monochromatic
#192B58 #264387 #345AB7 #597BD0 #88A1DD

Accessibility & contrast

On white

6.38
#345AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#345AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345AB7
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345AB7#FFFFFF#000000##FFFFFF
##345AB71.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2265BA
Deuteranopia (green-blind)
#0059B5
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #345ab7;
/* rgb */ color: rgb(52, 90, 183);
/* oklch */ color: oklch(49.2% 0.154 264.6);
Tailwind
colors: {
  custom: {
    50: '#7c88cd',
    500: '#345ab7',
    950: '#000000',
  },
}
SCSS
$custom: #345ab7;
$custom-light: #7c88cd;
$custom-dark: #000000;
JSON
{
  "hex": "#345ab7",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 183
  },
  "hsl": {
    "h": 222.595,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49233,
    "c": 0.15362,
    "h": 264.6
  },
  "luminance": 0.11461
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #345AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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