#345ABC#345ABC

#345ABC is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.6% C 0.161 H 265.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#345ABC
RGBrgb(52, 90, 188)
HSLhsl(223, 57%, 47%)
HSVhsv(223, 72%, 74%)
CMYKcmyk(72.3%, 52.1%, 0%, 26.3%)
CIE-LABlab(40.69, 20.62, -55.60)
CIE-LCHlch(40.69, 59.30, 290.35°)
OKLaboklab(49.61% -0.0138 -0.1599)
OKLCHoklch(49.61% 0.161 265.1)
XYZxyz(14.1462, 11.6717, 49.0745)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345ABC #BC9634
analogous
#349EBC #345ABC #5234BC
triadic
#345ABC #BC345A #5ABC34
tetradic
#345ABC #BC349E #BC9634 #34BC52
square
#345ABC #BC349E #BC9634 #34BC52
split-complementary
#345ABC #BC5234 #9EBC34
monochromatic
#192C5C #27438C #345ABC #5B7DD2 #8BA3DF

Accessibility & contrast

On white

6.30
#345ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#345ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345ABC
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345ABC#FFFFFF#000000##FFFFFF
##345ABC1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1966BF
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #345abc;
/* rgb */ color: rgb(52, 90, 188);
/* oklch */ color: oklch(49.6% 0.161 265.1);
Tailwind
colors: {
  custom: {
    50: '#7d88d1',
    500: '#345abc',
    950: '#000000',
  },
}
SCSS
$custom: #345abc;
$custom-light: #7d88d1;
$custom-dark: #000000;
JSON
{
  "hex": "#345abc",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 223.235,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49605,
    "c": 0.16052,
    "h": 265.1
  },
  "luminance": 0.11673
}

Semantic roles & 50–950 ramp

primary
#345ABC
secondary
#C9B583
accent
#B548E0
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #345ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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