#345AC0#345AC0

#345AC0 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.9% C 0.166 H 265.4°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#345AC0
RGBrgb(52, 90, 192)
HSLhsl(224, 57%, 48%)
HSVhsv(224, 73%, 75%)
CMYKcmyk(72.9%, 53.1%, 0%, 24.7%)
CIE-LABlab(40.97, 22.11, -57.48)
CIE-LCHlch(40.97, 61.58, 291.04°)
OKLaboklab(49.91% -0.0134 -0.1654)
OKLCHoklch(49.91% 0.166 265.4)
XYZxyz(14.5834, 11.8466, 51.3770)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345AC0 #C09A34
analogous
#34A0C0 #345AC0 #5434C0
triadic
#345AC0 #C0345A #5AC034
tetradic
#345AC0 #C034A0 #C09A34 #34C054
square
#345AC0 #C034A0 #C09A34 #34C054
split-complementary
#345AC0 #C05434 #A0C034
monochromatic
#1A2D60 #274390 #345AC0 #5E7ED3 #8EA4E0

Accessibility & contrast

On white

6.23
#345AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#345AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345AC0
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345AC0#FFFFFF#000000##FFFFFF
##345AC01.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F67C4
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #345ac0;
/* rgb */ color: rgb(52, 90, 192);
/* oklch */ color: oklch(49.9% 0.166 265.4);
Tailwind
colors: {
  custom: {
    50: '#7e88d4',
    500: '#345ac0',
    950: '#000000',
  },
}
SCSS
$custom: #345ac0;
$custom-light: #7e88d4;
$custom-dark: #000000;
JSON
{
  "hex": "#345ac0",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 192
  },
  "hsl": {
    "h": 223.714,
    "s": 57.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49908,
    "c": 0.16598,
    "h": 265.4
  },
  "luminance": 0.11848
}

Semantic roles & 50–950 ramp

primary
#345AC0
secondary
#CBB885
accent
#B747E1
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #345AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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