#345ABF#345ABF

#345ABF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.8% C 0.165 H 265.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#345ABF
RGBrgb(52, 90, 191)
HSLhsl(224, 57%, 48%)
HSVhsv(224, 73%, 75%)
CMYKcmyk(72.8%, 52.9%, 0%, 25.1%)
CIE-LABlab(40.90, 21.74, -57.01)
CIE-LCHlch(40.90, 61.01, 290.87°)
OKLaboklab(49.83% -0.0135 -0.1641)
OKLCHoklch(49.83% 0.165 265.3)
XYZxyz(14.4730, 11.8024, 50.7955)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345ABF #BF9934
analogous
#34A0BF #345ABF #5334BF
triadic
#345ABF #BF345A #5ABF34
tetradic
#345ABF #BF34A0 #BF9934 #34BF53
square
#345ABF #BF34A0 #BF9934 #34BF53
split-complementary
#345ABF #BF5334 #A0BF34
monochromatic
#1A2D5F #27438F #345ABF #5D7DD3 #8DA4E0

Accessibility & contrast

On white

6.25
#345ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#345ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345ABF
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345ABF#FFFFFF#000000##FFFFFF
##345ABF1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1267C3
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #345abf;
/* rgb */ color: rgb(52, 90, 191);
/* oklch */ color: oklch(49.8% 0.165 265.3);
Tailwind
colors: {
  custom: {
    50: '#7e88d3',
    500: '#345abf',
    950: '#000000',
  },
}
SCSS
$custom: #345abf;
$custom-light: #7e88d3;
$custom-dark: #000000;
JSON
{
  "hex": "#345abf",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 191
  },
  "hsl": {
    "h": 223.597,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49832,
    "c": 0.16462,
    "h": 265.3
  },
  "luminance": 0.11804
}

Semantic roles & 50–950 ramp

primary
#345ABF
secondary
#CAB784
accent
#B747E0
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #345ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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