#345FD1#345FD1

#345FD1 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.2% C 0.183 H 265.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#345FD1
RGBrgb(52, 95, 209)
HSLhsl(224, 63%, 51%)
HSVhsv(224, 75%, 82%)
CMYKcmyk(75.1%, 54.5%, 0%, 18%)
CIE-LABlab(43.53, 25.19, -63.15)
CIE-LCHlch(43.53, 67.99, 291.74°)
OKLaboklab(52.23% -0.0159 -0.182)
OKLCHoklch(52.23% 0.183 265)
XYZxyz(17.0129, 13.5160, 62.0215)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345FD1 #D1A634
analogous
#34ADD1 #345FD1 #5734D1
triadic
#345FD1 #D1345F #5FD134
tetradic
#345FD1 #D134AD #D1A634 #34D157
square
#345FD1 #D134AD #D1A634 #34D157
split-complementary
#345FD1 #D15734 #ADD134
monochromatic
#1A3271 #2547A3 #345FD1 #6686DC #98AEE8

Accessibility & contrast

On white

5.67
#345FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#345FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345FD1
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345FD1#FFFFFF#000000##FFFFFF
##345FD11.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED5
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#007B8F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #345fd1;
/* rgb */ color: rgb(52, 95, 209);
/* oklch */ color: oklch(52.2% 0.183 265.0);
Tailwind
colors: {
  custom: {
    50: '#818be0',
    500: '#345fd1',
    950: '#000000',
  },
}
SCSS
$custom: #345fd1;
$custom-light: #818be0;
$custom-dark: #000000;
JSON
{
  "hex": "#345fd1",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 209
  },
  "hsl": {
    "h": 223.567,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5223,
    "c": 0.18273,
    "h": 265
  },
  "luminance": 0.13518
}

Semantic roles & 50–950 ramp

primary
#345FD1
secondary
#D3C08E
accent
#B942E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #345FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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