#345BB8#345BB8

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

Color values

HEX#345BB8
RGBrgb(52, 91, 184)
HSLhsl(222, 56%, 46%)
HSVhsv(222, 72%, 72%)
CMYKcmyk(71.7%, 50.5%, 0%, 27.8%)
CIE-LABlab(40.69, 18.48, -53.26)
CIE-LCHlch(40.69, 56.38, 289.14°)
OKLaboklab(49.52% -0.0151 -0.153)
OKLCHoklch(49.52% 0.154 264.4)
XYZxyz(13.8059, 11.6715, 46.8633)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345BB8 #B89134
analogous
#349DB8 #345BB8 #4F34B8
triadic
#345BB8 #B8345B #5BB834
tetradic
#345BB8 #B8349D #B89134 #34B84F
square
#345BB8 #B8349D #B89134 #34B84F
split-complementary
#345BB8 #B84F34 #9DB834
monochromatic
#192C59 #274388 #345BB8 #597CD0 #89A2DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##345BB8#FFFFFF#000000##FFFFFF
##345BB81.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)
#2366BB
Deuteranopia (green-blind)
#005AB6
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #345bb8;
/* rgb */ color: rgb(52, 91, 184);
/* oklch */ color: oklch(49.5% 0.154 264.4);
Tailwind
colors: {
  custom: {
    50: '#7c88ce',
    500: '#345bb8',
    950: '#000000',
  },
}
SCSS
$custom: #345bb8;
$custom-light: #7c88ce;
$custom-dark: #000000;
JSON
{
  "hex": "#345bb8",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 184
  },
  "hsl": {
    "h": 222.273,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49517,
    "c": 0.15376,
    "h": 264.4
  },
  "luminance": 0.11673
}

Semantic roles & 50–950 ramp

primary
#345BB8
secondary
#C8B280
accent
#B349DF
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #345BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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