#345CA8#345CA8

#345CA8 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.6% C 0.130 H 261.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#345CA8
RGBrgb(52, 92, 168)
HSLhsl(219, 53%, 43%)
HSVhsv(219, 69%, 66%)
CMYKcmyk(69%, 45.2%, 0%, 34.1%)
CIE-LABlab(39.93, 11.88, -45.06)
CIE-LCHlch(39.93, 46.60, 284.77°)
OKLaboklab(48.6% -0.0184 -0.1289)
OKLCHoklch(48.6% 0.13 261.9)
XYZxyz(12.3087, 11.2103, 38.5533)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CA8 #A88034
analogous
#3496A8 #345CA8 #4634A8
triadic
#345CA8 #A8345C #5CA834
tetradic
#345CA8 #A83496 #A88034 #34A846
square
#345CA8 #A83496 #A88034 #34A846
split-complementary
#345CA8 #A84634 #96A834
monochromatic
#17294B #264279 #345CA8 #507AC9 #7F9DD7

Accessibility & contrast

On white

6.48
#345CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#345CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345CA8
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CA8#FFFFFF#000000##FFFFFF
##345CA81.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3764AB
Deuteranopia (green-blind)
#2159A6
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #345ca8;
/* rgb */ color: rgb(52, 92, 168);
/* oklch */ color: oklch(48.6% 0.130 261.9);
Tailwind
colors: {
  custom: {
    50: '#7989c2',
    500: '#345ca8',
    950: '#000000',
  },
}
SCSS
$custom: #345ca8;
$custom-light: #7989c2;
$custom-dark: #000000;
JSON
{
  "hex": "#345ca8",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 168
  },
  "hsl": {
    "h": 219.31,
    "s": 52.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48604,
    "c": 0.13017,
    "h": 261.9
  },
  "luminance": 0.11212
}

Semantic roles & 50–950 ramp

primary
#345CA8
secondary
#C0A777
accent
#AA4CDC
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #345CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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