#345FC1#345FC1

#345FC1 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.0% C 0.161 H 263.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#345FC1
RGBrgb(52, 95, 193)
HSLhsl(222, 58%, 48%)
HSVhsv(222, 73%, 76%)
CMYKcmyk(73.1%, 50.8%, 0%, 24.3%)
CIE-LABlab(42.40, 19.24, -55.74)
CIE-LCHlch(42.40, 58.97, 289.04°)
OKLaboklab(51.02% -0.0174 -0.1602)
OKLCHoklch(51.02% 0.161 263.8)
XYZxyz(15.1306, 12.7631, 52.1078)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345FC1 #C19634
analogous
#34A5C1 #345FC1 #4F34C1
triadic
#345FC1 #C1345F #5FC134
tetradic
#345FC1 #C134A5 #C19634 #34C14F
square
#345FC1 #C134A5 #C19634 #34C14F
split-complementary
#345FC1 #C14F34 #A5C134
monochromatic
#1A3061 #274791 #345FC1 #5E82D4 #8FA8E1

Accessibility & contrast

On white

5.91
#345FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#345FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345FC1
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345FC1#FFFFFF#000000##FFFFFF
##345FC11.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236BC5
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#007687
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #345fc1;
/* rgb */ color: rgb(52, 95, 193);
/* oklch */ color: oklch(51.0% 0.161 263.8);
Tailwind
colors: {
  custom: {
    50: '#7e8bd4',
    500: '#345fc1',
    950: '#000000',
  },
}
SCSS
$custom: #345fc1;
$custom-light: #7e8bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#345fc1",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 193
  },
  "hsl": {
    "h": 221.702,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51018,
    "c": 0.16118,
    "h": 263.8
  },
  "luminance": 0.12765
}

Semantic roles & 50–950 ramp

primary
#345FC1
secondary
#CBB686
accent
#B247E1
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #345FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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