#345CB1#345CB1

#345CB1 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.2% C 0.143 H 263.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#345CB1
RGBrgb(52, 92, 177)
HSLhsl(221, 55%, 45%)
HSVhsv(221, 71%, 69%)
CMYKcmyk(70.6%, 48%, 0%, 30.6%)
CIE-LABlab(40.50, 15.22, -49.45)
CIE-LCHlch(40.50, 51.74, 287.11°)
OKLaboklab(49.23% -0.0169 -0.1418)
OKLCHoklch(49.23% 0.143 263.2)
XYZxyz(13.1763, 11.5573, 43.1228)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CB1 #B18934
analogous
#349BB1 #345CB1 #4B34B1
triadic
#345CB1 #B1345C #5CB134
tetradic
#345CB1 #B1349B #B18934 #34B14B
square
#345CB1 #B1349B #B18934 #34B14B
split-complementary
#345CB1 #B14B34 #9BB134
monochromatic
#182B52 #264382 #345CB1 #557CCD #84A0DB

Accessibility & contrast

On white

6.34
#345CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #345CB1
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CB1#FFFFFF#000000##FFFFFF
##345CB11.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E66B4
Deuteranopia (green-blind)
#0E5AAF
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #345cb1;
/* rgb */ color: rgb(52, 92, 177);
/* oklch */ color: oklch(49.2% 0.143 263.2);
Tailwind
colors: {
  custom: {
    50: '#7b89c9',
    500: '#345cb1',
    950: '#000000',
  },
}
SCSS
$custom: #345cb1;
$custom-light: #7b89c9;
$custom-dark: #000000;
JSON
{
  "hex": "#345cb1",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 177
  },
  "hsl": {
    "h": 220.8,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49227,
    "c": 0.1428,
    "h": 263.2
  },
  "luminance": 0.11559
}

Semantic roles & 50–950 ramp

primary
#345CB1
secondary
#C5AD7C
accent
#AF4ADE
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #345CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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