#345AA7#345AA7

#345AA7 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.1% C 0.131 H 262.7°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#345AA7
RGBrgb(52, 90, 167)
HSLhsl(220, 53%, 43%)
HSVhsv(220, 69%, 65%)
CMYKcmyk(68.9%, 46.1%, 0%, 34.5%)
CIE-LABlab(39.29, 12.81, -45.49)
CIE-LCHlch(39.29, 47.25, 285.72°)
OKLaboklab(48.09% -0.0166 -0.1301)
OKLCHoklch(48.09% 0.131 262.7)
XYZxyz(12.0449, 10.8312, 38.0076)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345AA7 #A78134
analogous
#3493A7 #345AA7 #4834A7
triadic
#345AA7 #A7345A #5AA734
tetradic
#345AA7 #A73493 #A78134 #34A748
square
#345AA7 #A73493 #A78134 #34A748
split-complementary
#345AA7 #A74834 #93A734
monochromatic
#17284A #254178 #345AA7 #5078C8 #7E9CD7

Accessibility & contrast

On white

6.63
#345AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#345AA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345AA7
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345AA7#FFFFFF#000000##FFFFFF
##345AA71.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3362AA
Deuteranopia (green-blind)
#1D58A5
Tritanopia (blue-blind)
#006C78
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #345aa7;
/* rgb */ color: rgb(52, 90, 167);
/* oklch */ color: oklch(48.1% 0.131 262.7);
Tailwind
colors: {
  custom: {
    50: '#7988c2',
    500: '#345aa7',
    950: '#000000',
  },
}
SCSS
$custom: #345aa7;
$custom-light: #7988c2;
$custom-dark: #000000;
JSON
{
  "hex": "#345aa7",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 167
  },
  "hsl": {
    "h": 220.174,
    "s": 52.511,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48094,
    "c": 0.13121,
    "h": 262.7
  },
  "luminance": 0.10832
}

Semantic roles & 50–950 ramp

primary
#345AA7
secondary
#C0A877
accent
#AC4CDC
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #345AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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