#345DA1#345DA1

#345DA1 is a mid, moderate blue. Relative luminance 0.111; OKLCH L 48.4% C 0.119 H 260.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#345DA1
RGBrgb(52, 93, 161)
HSLhsl(217, 51%, 42%)
HSVhsv(217, 68%, 63%)
CMYKcmyk(67.7%, 42.2%, 0%, 36.9%)
CIE-LABlab(39.80, 8.64, -41.11)
CIE-LCHlch(39.80, 42.01, 281.87°)
OKLaboklab(48.37% -0.0208 -0.1172)
OKLCHoklch(48.37% 0.119 260)
XYZxyz(11.7613, 11.1308, 35.2399)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345DA1 #A17834
analogous
#3494A1 #345DA1 #4134A1
triadic
#345DA1 #A1345D #5DA134
tetradic
#345DA1 #A13494 #A17834 #34A141
square
#345DA1 #A13494 #A17834 #34A141
split-complementary
#345DA1 #A14134 #94A134
monochromatic
#162844 #254273 #345DA1 #4D7AC5 #7B9DD4

Accessibility & contrast

On white

6.51
#345DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#345DA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345DA1
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345DA1#FFFFFF#000000##FFFFFF
##345DA11.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E63A4
Deuteranopia (green-blind)
#2C59A0
Tritanopia (blue-blind)
#006D77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #345da1;
/* rgb */ color: rgb(52, 93, 161);
/* oklch */ color: oklch(48.4% 0.119 260.0);
Tailwind
colors: {
  custom: {
    50: '#788abd',
    500: '#345da1',
    950: '#000000',
  },
}
SCSS
$custom: #345da1;
$custom-light: #788abd;
$custom-dark: #000000;
JSON
{
  "hex": "#345da1",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 161
  },
  "hsl": {
    "h": 217.431,
    "s": 51.174,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48365,
    "c": 0.11907,
    "h": 260
  },
  "luminance": 0.11132
}

Semantic roles & 50–950 ramp

primary
#345DA1
secondary
#BDA274
accent
#A54DDB
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #345DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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