#345BBC#345BBC

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

Color values

HEX#345BBC
RGBrgb(52, 91, 188)
HSLhsl(223, 57%, 47%)
HSVhsv(223, 72%, 74%)
CMYKcmyk(72.3%, 51.6%, 0%, 26.3%)
CIE-LABlab(40.96, 19.97, -55.16)
CIE-LCHlch(40.96, 58.66, 289.90°)
OKLaboklab(49.81% -0.0146 -0.1586)
OKLCHoklch(49.81% 0.159 264.7)
XYZxyz(14.2312, 11.8416, 49.1028)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345BBC #BC9534
analogous
#349FBC #345BBC #5134BC
triadic
#345BBC #BC345B #5BBC34
tetradic
#345BBC #BC349F #BC9534 #34BC51
square
#345BBC #BC349F #BC9534 #34BC51
split-complementary
#345BBC #BC5134 #9FBC34
monochromatic
#192D5C #27448C #345BBC #5B7DD2 #8BA3DF

Accessibility & contrast

On white

6.23
#345BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#345BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345BBC
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345BBC#FFFFFF#000000##FFFFFF
##345BBC1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67BF
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #345bbc;
/* rgb */ color: rgb(52, 91, 188);
/* oklch */ color: oklch(49.8% 0.159 264.7);
Tailwind
colors: {
  custom: {
    50: '#7d88d1',
    500: '#345bbc',
    950: '#000000',
  },
}
SCSS
$custom: #345bbc;
$custom-light: #7d88d1;
$custom-dark: #000000;
JSON
{
  "hex": "#345bbc",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 188
  },
  "hsl": {
    "h": 222.794,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49813,
    "c": 0.15927,
    "h": 264.7
  },
  "luminance": 0.11843
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #345BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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