#345CA2#345CA2

#345CA2 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.2% C 0.122 H 260.8°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#345CA2
RGBrgb(52, 92, 162)
HSLhsl(218, 51%, 42%)
HSVhsv(218, 68%, 64%)
CMYKcmyk(67.9%, 43.2%, 0%, 36.5%)
CIE-LABlab(39.57, 9.66, -42.08)
CIE-LCHlch(39.57, 43.17, 282.92°)
OKLaboklab(48.2% -0.0195 -0.1201)
OKLCHoklch(48.2% 0.122 260.8)
XYZxyz(11.7626, 10.9918, 35.6772)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CA2 #A27A34
analogous
#3493A2 #345CA2 #4334A2
triadic
#345CA2 #A2345C #5CA234
tetradic
#345CA2 #A23493 #A27A34 #34A243
square
#345CA2 #A23493 #A27A34 #34A243
split-complementary
#345CA2 #A24334 #93A234
monochromatic
#162745 #254274 #345CA2 #4D79C6 #7C9CD5

Accessibility & contrast

On white

6.57
#345CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#345CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345CA2
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CA2#FFFFFF#000000##FFFFFF
##345CA21.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B63A5
Deuteranopia (green-blind)
#2958A1
Tritanopia (blue-blind)
#006C77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #345ca2;
/* rgb */ color: rgb(52, 92, 162);
/* oklch */ color: oklch(48.2% 0.122 260.8);
Tailwind
colors: {
  custom: {
    50: '#7889be',
    500: '#345ca2',
    950: '#000000',
  },
}
SCSS
$custom: #345ca2;
$custom-light: #7889be;
$custom-dark: #000000;
JSON
{
  "hex": "#345ca2",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 218.182,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48204,
    "c": 0.12168,
    "h": 260.8
  },
  "luminance": 0.10993
}

Semantic roles & 50–950 ramp

primary
#345CA2
secondary
#BEA374
accent
#A74DDB
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #345CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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