#345FC0#345FC0

#345FC0 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.9% C 0.160 H 263.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#345FC0
RGBrgb(52, 95, 192)
HSLhsl(222, 57%, 48%)
HSVhsv(222, 73%, 75%)
CMYKcmyk(72.9%, 50.5%, 0%, 24.7%)
CIE-LABlab(42.34, 18.87, -55.27)
CIE-LCHlch(42.34, 58.40, 288.85°)
OKLaboklab(50.94% -0.0175 -0.1589)
OKLCHoklch(50.94% 0.16 263.7)
XYZxyz(15.0194, 12.7186, 51.5223)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345FC0 #C09534
analogous
#34A5C0 #345FC0 #4F34C0
triadic
#345FC0 #C0345F #5FC034
tetradic
#345FC0 #C034A5 #C09534 #34C04F
square
#345FC0 #C034A5 #C09534 #34C04F
split-complementary
#345FC0 #C04F34 #A5C034
monochromatic
#1A2F60 #274790 #345FC0 #5E82D3 #8EA7E0

Accessibility & contrast

On white

5.93
#345FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#345FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345FC0
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345FC0#FFFFFF#000000##FFFFFF
##345FC01.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246BC4
Deuteranopia (green-blind)
#005EBE
Tritanopia (blue-blind)
#007686
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #345fc0;
/* rgb */ color: rgb(52, 95, 192);
/* oklch */ color: oklch(50.9% 0.160 263.7);
Tailwind
colors: {
  custom: {
    50: '#7e8bd4',
    500: '#345fc0',
    950: '#000000',
  },
}
SCSS
$custom: #345fc0;
$custom-light: #7e8bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#345fc0",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 192
  },
  "hsl": {
    "h": 221.571,
    "s": 57.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50945,
    "c": 0.15982,
    "h": 263.7
  },
  "luminance": 0.1272
}

Semantic roles & 50–950 ramp

primary
#345FC0
secondary
#CBB585
accent
#B147E1
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #345FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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