#345FB2#345FB2

#345FB2 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 49.9% C 0.141 H 262.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#345FB2
RGBrgb(52, 95, 178)
HSLhsl(220, 55%, 45%)
HSVhsv(220, 71%, 70%)
CMYKcmyk(70.8%, 46.6%, 0%, 30.2%)
CIE-LABlab(41.42, 13.65, -48.57)
CIE-LCHlch(41.42, 50.46, 285.70°)
OKLaboklab(49.95% -0.0195 -0.1391)
OKLCHoklch(49.95% 0.141 262)
XYZxyz(13.5414, 12.1274, 43.7380)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345FB2 #B28734
analogous
#349EB2 #345FB2 #4834B2
triadic
#345FB2 #B2345F #5FB234
tetradic
#345FB2 #B2349E #B28734 #34B248
square
#345FB2 #B2349E #B28734 #34B248
split-complementary
#345FB2 #B24834 #9EB234
monochromatic
#182C53 #264683 #345FB2 #567FCE #85A2DB

Accessibility & contrast

On white

6.13
#345FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#345FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345FB2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345FB2#FFFFFF#000000##FFFFFF
##345FB21.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3468B5
Deuteranopia (green-blind)
#195CB0
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #345fb2;
/* rgb */ color: rgb(52, 95, 178);
/* oklch */ color: oklch(49.9% 0.141 262.0);
Tailwind
colors: {
  custom: {
    50: '#7b8bc9',
    500: '#345fb2',
    950: '#000000',
  },
}
SCSS
$custom: #345fb2;
$custom-light: #7b8bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#345fb2",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 219.524,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49948,
    "c": 0.14051,
    "h": 262
  },
  "luminance": 0.12129
}

Semantic roles & 50–950 ramp

primary
#345FB2
secondary
#C5AC7D
accent
#AB4ADE
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #345FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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