#345FB7#345FB7

#345FB7 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.3% C 0.147 H 262.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#345FB7
RGBrgb(52, 95, 183)
HSLhsl(220, 56%, 46%)
HSVhsv(220, 72%, 72%)
CMYKcmyk(71.6%, 48.1%, 0%, 28.2%)
CIE-LABlab(41.74, 15.51, -50.99)
CIE-LCHlch(41.74, 53.30, 286.92°)
OKLaboklab(50.3% -0.0187 -0.1462)
OKLCHoklch(50.3% 0.147 262.7)
XYZxyz(14.0526, 12.3319, 46.4303)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345FB7 #B78C34
analogous
#34A0B7 #345FB7 #4A34B7
triadic
#345FB7 #B7345F #5FB734
tetradic
#345FB7 #B734A0 #B78C34 #34B74A
square
#345FB7 #B734A0 #B78C34 #34B74A
split-complementary
#345FB7 #B74A34 #A0B734
monochromatic
#192E58 #264687 #345FB7 #5980D0 #88A4DD

Accessibility & contrast

On white

6.06
#345FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#345FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345FB7
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345FB7#FFFFFF#000000##FFFFFF
##345FB71.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F69BA
Deuteranopia (green-blind)
#0A5DB5
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #345fb7;
/* rgb */ color: rgb(52, 95, 183);
/* oklch */ color: oklch(50.3% 0.147 262.7);
Tailwind
colors: {
  custom: {
    50: '#7c8bcd',
    500: '#345fb7',
    950: '#000000',
  },
}
SCSS
$custom: #345fb7;
$custom-light: #7c8bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#345fb7",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 183
  },
  "hsl": {
    "h": 220.305,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50298,
    "c": 0.14744,
    "h": 262.7
  },
  "luminance": 0.12333
}

Semantic roles & 50–950 ramp

primary
#345FB7
secondary
#C7B080
accent
#AE49DF
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #345FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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