#345FAE#345FAE

#345FAE is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.7% C 0.135 H 261.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#345FAE
RGBrgb(52, 95, 174)
HSLhsl(219, 54%, 44%)
HSVhsv(219, 70%, 68%)
CMYKcmyk(70.1%, 45.4%, 0%, 31.8%)
CIE-LABlab(41.17, 12.16, -46.62)
CIE-LCHlch(41.17, 48.18, 284.62°)
OKLaboklab(49.68% -0.0202 -0.1334)
OKLCHoklch(49.68% 0.135 261.4)
XYZxyz(13.1456, 11.9691, 41.6537)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345FAE #AE8334
analogous
#349CAE #345FAE #4634AE
triadic
#345FAE #AE345F #5FAE34
tetradic
#345FAE #AE349C #AE8334 #34AE46
square
#345FAE #AE349C #AE8334 #34AE46
split-complementary
#345FAE #AE4634 #9CAE34
monochromatic
#182C50 #26457F #345FAE #537ECC #83A1DA

Accessibility & contrast

On white

6.19
#345FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#345FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345FAE
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345FAE#FFFFFF#000000##FFFFFF
##345FAE1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3867B1
Deuteranopia (green-blind)
#205CAC
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #345fae;
/* rgb */ color: rgb(52, 95, 174);
/* oklch */ color: oklch(49.7% 0.135 261.4);
Tailwind
colors: {
  custom: {
    50: '#7a8bc7',
    500: '#345fae',
    950: '#000000',
  },
}
SCSS
$custom: #345fae;
$custom-light: #7a8bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#345fae",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 174
  },
  "hsl": {
    "h": 218.852,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49675,
    "c": 0.13494,
    "h": 261.4
  },
  "luminance": 0.1197
}

Semantic roles & 50–950 ramp

primary
#345FAE
secondary
#C3AA7B
accent
#AA4ADD
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #345FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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