#345BAE#345BAE

#345BAE is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.8% C 0.140 H 263.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#345BAE
RGBrgb(52, 91, 174)
HSLhsl(221, 54%, 44%)
HSVhsv(221, 70%, 68%)
CMYKcmyk(70.1%, 47.7%, 0%, 31.8%)
CIE-LABlab(40.03, 14.76, -48.45)
CIE-LCHlch(40.03, 50.65, 286.94°)
OKLaboklab(48.8% -0.0164 -0.1389)
OKLCHoklch(48.8% 0.14 263.2)
XYZxyz(12.7945, 11.2669, 41.5366)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345BAE #AE8734
analogous
#3498AE #345BAE #4A34AE
triadic
#345BAE #AE345B #5BAE34
tetradic
#345BAE #AE3498 #AE8734 #34AE4A
square
#345BAE #AE3498 #AE8734 #34AE4A
split-complementary
#345BAE #AE4A34 #98AE34
monochromatic
#182A50 #26427F #345BAE #537ACC #839EDA

Accessibility & contrast

On white

6.45
#345BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#345BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345BAE
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345BAE#FFFFFF#000000##FFFFFF
##345BAE1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F64B1
Deuteranopia (green-blind)
#1259AC
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #345bae;
/* rgb */ color: rgb(52, 91, 174);
/* oklch */ color: oklch(48.8% 0.140 263.2);
Tailwind
colors: {
  custom: {
    50: '#7a88c7',
    500: '#345bae',
    950: '#000000',
  },
}
SCSS
$custom: #345bae;
$custom-light: #7a88c7;
$custom-dark: #000000;
JSON
{
  "hex": "#345bae",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 174
  },
  "hsl": {
    "h": 220.82,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48799,
    "c": 0.13984,
    "h": 263.2
  },
  "luminance": 0.11268
}

Semantic roles & 50–950 ramp

primary
#345BAE
secondary
#C3AC7B
accent
#AE4ADD
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #345BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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