#345DAF#345DAF

#345DAF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.3% C 0.139 H 262.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#345DAF
RGBrgb(52, 93, 175)
HSLhsl(220, 54%, 45%)
HSVhsv(220, 70%, 69%)
CMYKcmyk(70.3%, 46.9%, 0%, 31.4%)
CIE-LABlab(40.66, 13.83, -48.03)
CIE-LCHlch(40.66, 49.98, 286.06°)
OKLaboklab(49.3% -0.0181 -0.1376)
OKLCHoklch(49.3% 0.139 262.5)
XYZxyz(13.0656, 11.6526, 42.1097)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345DAF #AF8634
analogous
#349BAF #345DAF #4934AF
triadic
#345DAF #AF345D #5DAF34
tetradic
#345DAF #AF349B #AF8634 #34AF49
square
#345DAF #AF349B #AF8634 #34AF49
split-complementary
#345DAF #AF4934 #9BAF34
monochromatic
#182B51 #264480 #345DAF #547CCC #83A0DA

Accessibility & contrast

On white

6.30
#345DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#345DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345DAF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345DAF#FFFFFF#000000##FFFFFF
##345DAF1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B2
Deuteranopia (green-blind)
#185BAD
Tritanopia (blue-blind)
#00707D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #345daf;
/* rgb */ color: rgb(52, 93, 175);
/* oklch */ color: oklch(49.3% 0.139 262.5);
Tailwind
colors: {
  custom: {
    50: '#7a8ac7',
    500: '#345daf',
    950: '#000000',
  },
}
SCSS
$custom: #345daf;
$custom-light: #7a8ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#345daf",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 175
  },
  "hsl": {
    "h": 220,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49304,
    "c": 0.13877,
    "h": 262.5
  },
  "luminance": 0.11654
}

Semantic roles & 50–950 ramp

primary
#345DAF
secondary
#C4AB7B
accent
#AC4ADE
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #345DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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