#345DA2#345DA2

#345DA2 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.4% C 0.120 H 260.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#345DA2
RGBrgb(52, 93, 162)
HSLhsl(218, 51%, 42%)
HSVhsv(218, 68%, 64%)
CMYKcmyk(67.9%, 42.6%, 0%, 36.5%)
CIE-LABlab(39.86, 9.01, -41.61)
CIE-LCHlch(39.86, 42.57, 282.22°)
OKLaboklab(48.43% -0.0205 -0.1187)
OKLCHoklch(48.43% 0.12 260.2)
XYZxyz(11.8498, 11.1662, 35.7062)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345DA2 #A27934
analogous
#3494A2 #345DA2 #4234A2
triadic
#345DA2 #A2345D #5DA234
tetradic
#345DA2 #A23494 #A27934 #34A242
square
#345DA2 #A23494 #A27934 #34A242
split-complementary
#345DA2 #A24234 #94A234
monochromatic
#162845 #254274 #345DA2 #4D7AC6 #7C9DD5

Accessibility & contrast

On white

6.49
#345DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #345DA2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345DA2#FFFFFF#000000##FFFFFF
##345DA21.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #345da2;
/* rgb */ color: rgb(52, 93, 162);
/* oklch */ color: oklch(48.4% 0.120 260.2);
Tailwind
colors: {
  custom: {
    50: '#788abe',
    500: '#345da2',
    950: '#000000',
  },
}
SCSS
$custom: #345da2;
$custom-light: #788abe;
$custom-dark: #000000;
JSON
{
  "hex": "#345da2",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 162
  },
  "hsl": {
    "h": 217.636,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4843,
    "c": 0.12049,
    "h": 260.2
  },
  "luminance": 0.11167
}

Semantic roles & 50–950 ramp

primary
#345DA2
secondary
#BEA274
accent
#A64DDB
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #345DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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