#345CAF#345CAF

#345CAF is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.1% C 0.140 H 262.9°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#345CAF
RGBrgb(52, 92, 175)
HSLhsl(220, 54%, 45%)
HSVhsv(220, 70%, 69%)
CMYKcmyk(70.3%, 47.4%, 0%, 31.4%)
CIE-LABlab(40.37, 14.48, -48.48)
CIE-LCHlch(40.37, 50.60, 286.63°)
OKLaboklab(49.09% -0.0172 -0.1389)
OKLCHoklch(49.09% 0.14 262.9)
XYZxyz(12.9784, 11.4782, 42.0807)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CAF #AF8734
analogous
#349AAF #345CAF #4A34AF
triadic
#345CAF #AF345C #5CAF34
tetradic
#345CAF #AF349A #AF8734 #34AF4A
square
#345CAF #AF349A #AF8734 #34AF4A
split-complementary
#345CAF #AF4A34 #9AAF34
monochromatic
#182A51 #264380 #345CAF #547BCC #839FDA

Accessibility & contrast

On white

6.37
#345CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#345CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345CAF
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CAF#FFFFFF#000000##FFFFFF
##345CAF1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#145AAD
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #345caf;
/* rgb */ color: rgb(52, 92, 175);
/* oklch */ color: oklch(49.1% 0.140 262.9);
Tailwind
colors: {
  custom: {
    50: '#7a89c7',
    500: '#345caf',
    950: '#000000',
  },
}
SCSS
$custom: #345caf;
$custom-light: #7a89c7;
$custom-dark: #000000;
JSON
{
  "hex": "#345caf",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 175
  },
  "hsl": {
    "h": 220.488,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49086,
    "c": 0.14,
    "h": 262.9
  },
  "luminance": 0.1148
}

Semantic roles & 50–950 ramp

primary
#345CAF
secondary
#C4AC7B
accent
#AE4ADE
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #345CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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