#345BBE#345BBE

#345BBE is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.0% C 0.162 H 264.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#345BBE
RGBrgb(52, 91, 190)
HSLhsl(223, 57%, 47%)
HSVhsv(223, 73%, 75%)
CMYKcmyk(72.6%, 52.1%, 0%, 25.5%)
CIE-LABlab(41.10, 20.72, -56.10)
CIE-LCHlch(41.10, 59.80, 290.27°)
OKLaboklab(49.96% -0.0144 -0.1614)
OKLCHoklch(49.96% 0.162 264.9)
XYZxyz(14.4482, 11.9284, 50.2462)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345BBE #BE9734
analogous
#34A0BE #345BBE #5234BE
triadic
#345BBE #BE345B #5BBE34
tetradic
#345BBE #BE34A0 #BE9734 #34BE52
square
#345BBE #BE34A0 #BE9734 #34BE52
split-complementary
#345BBE #BE5234 #A0BE34
monochromatic
#1A2D5E #27448E #345BBE #5D7ED3 #8DA4E0

Accessibility & contrast

On white

6.20
#345BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#345BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345BBE
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345BBE#FFFFFF#000000##FFFFFF
##345BBE1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1968C2
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #345bbe;
/* rgb */ color: rgb(52, 91, 190);
/* oklch */ color: oklch(50.0% 0.162 264.9);
Tailwind
colors: {
  custom: {
    50: '#7d88d2',
    500: '#345bbe',
    950: '#000000',
  },
}
SCSS
$custom: #345bbe;
$custom-light: #7d88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#345bbe",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 190
  },
  "hsl": {
    "h": 223.043,
    "s": 57.025,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49963,
    "c": 0.16201,
    "h": 264.9
  },
  "luminance": 0.1193
}

Semantic roles & 50–950 ramp

primary
#345BBE
secondary
#CAB684
accent
#B548E0
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #345BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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