#345AB9#345AB9

#345AB9 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.4% C 0.156 H 264.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#345AB9
RGBrgb(52, 90, 185)
HSLhsl(223, 56%, 46%)
HSVhsv(223, 72%, 73%)
CMYKcmyk(71.9%, 51.4%, 0%, 27.5%)
CIE-LABlab(40.48, 19.51, -54.18)
CIE-LCHlch(40.48, 57.59, 289.80°)
OKLaboklab(49.38% -0.0141 -0.1557)
OKLCHoklch(49.38% 0.156 264.8)
XYZxyz(13.8262, 11.5437, 47.3890)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345AB9 #B99334
analogous
#349DB9 #345AB9 #5134B9
triadic
#345AB9 #B9345A #5AB934
tetradic
#345AB9 #B9349D #B99334 #34B951
square
#345AB9 #B9349D #B99334 #34B951
split-complementary
#345AB9 #B95134 #9DB934
monochromatic
#192C59 #274389 #345AB9 #5A7CD1 #89A2DE

Accessibility & contrast

On white

6.35
#345AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#345AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345AB9
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345AB9#FFFFFF#000000##FFFFFF
##345AB91.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F66BC
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #345ab9;
/* rgb */ color: rgb(52, 90, 185);
/* oklch */ color: oklch(49.4% 0.156 264.8);
Tailwind
colors: {
  custom: {
    50: '#7c88cf',
    500: '#345ab9',
    950: '#000000',
  },
}
SCSS
$custom: #345ab9;
$custom-light: #7c88cf;
$custom-dark: #000000;
JSON
{
  "hex": "#345ab9",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 185
  },
  "hsl": {
    "h": 222.857,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49381,
    "c": 0.15639,
    "h": 264.8
  },
  "luminance": 0.11545
}

Semantic roles & 50–950 ramp

primary
#345AB9
secondary
#C8B481
accent
#B448DF
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #345AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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