#345AA8#345AA8

#345AA8 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.2% C 0.133 H 262.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#345AA8
RGBrgb(52, 90, 168)
HSLhsl(220, 53%, 43%)
HSVhsv(220, 69%, 66%)
CMYKcmyk(69%, 46.4%, 0%, 34.1%)
CIE-LABlab(39.36, 13.18, -45.98)
CIE-LCHlch(39.36, 47.83, 285.99°)
OKLaboklab(48.16% -0.0165 -0.1316)
OKLCHoklch(48.16% 0.133 262.9)
XYZxyz(12.1377, 10.8683, 38.4963)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345AA8 #A88234
analogous
#3494A8 #345AA8 #4834A8
triadic
#345AA8 #A8345A #5AA834
tetradic
#345AA8 #A83494 #A88234 #34A848
square
#345AA8 #A83494 #A88234 #34A848
split-complementary
#345AA8 #A84834 #94A834
monochromatic
#17284B #264179 #345AA8 #5078C9 #7F9CD7

Accessibility & contrast

On white

6.62
#345AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #345AA8
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345AA8#FFFFFF#000000##FFFFFF
##345AA81.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3362AB
Deuteranopia (green-blind)
#1C58A6
Tritanopia (blue-blind)
#006C79
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #345aa8;
/* rgb */ color: rgb(52, 90, 168);
/* oklch */ color: oklch(48.2% 0.133 262.9);
Tailwind
colors: {
  custom: {
    50: '#7988c2',
    500: '#345aa8',
    950: '#000000',
  },
}
SCSS
$custom: #345aa8;
$custom-light: #7988c2;
$custom-dark: #000000;
JSON
{
  "hex": "#345aa8",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 168
  },
  "hsl": {
    "h": 220.345,
    "s": 52.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48163,
    "c": 0.13263,
    "h": 262.9
  },
  "luminance": 0.1087
}

Semantic roles & 50–950 ramp

primary
#345AA8
secondary
#C0A977
accent
#AD4CDC
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #345AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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