#345FAA#345FAA

#345FAA is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.4% C 0.129 H 260.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#345FAA
RGBrgb(52, 95, 170)
HSLhsl(218, 53%, 44%)
HSVhsv(218, 69%, 67%)
CMYKcmyk(69.4%, 44.1%, 0%, 33.3%)
CIE-LABlab(40.92, 10.68, -44.66)
CIE-LCHlch(40.92, 45.92, 283.45°)
OKLaboklab(49.41% -0.0209 -0.1276)
OKLCHoklch(49.41% 0.129 260.7)
XYZxyz(12.7615, 11.8155, 39.6305)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345FAA #AA7F34
analogous
#349AAA #345FAA #4434AA
triadic
#345FAA #AA345F #5FAA34
tetradic
#345FAA #AA349A #AA7F34 #34AA44
square
#345FAA #AA349A #AA7F34 #34AA44
split-complementary
#345FAA #AA4434 #9AAA34
monochromatic
#172B4C #26457B #345FAA #517DCA #80A0D8

Accessibility & contrast

On white

6.24
#345FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#345FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345FAA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345FAA#FFFFFF#000000##FFFFFF
##345FAA1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B66AD
Deuteranopia (green-blind)
#265BA8
Tritanopia (blue-blind)
#00707C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #345faa;
/* rgb */ color: rgb(52, 95, 170);
/* oklch */ color: oklch(49.4% 0.129 260.7);
Tailwind
colors: {
  custom: {
    50: '#798bc4',
    500: '#345faa',
    950: '#000000',
  },
}
SCSS
$custom: #345faa;
$custom-light: #798bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#345faa",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 170
  },
  "hsl": {
    "h": 218.136,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49406,
    "c": 0.12934,
    "h": 260.7
  },
  "luminance": 0.11817
}

Semantic roles & 50–950 ramp

primary
#345FAA
secondary
#C1A778
accent
#A84BDD
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #345FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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