#345CB3#345CB3

#345CB3 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.4% C 0.146 H 263.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#345CB3
RGBrgb(52, 92, 179)
HSLhsl(221, 55%, 45%)
HSVhsv(221, 71%, 70%)
CMYKcmyk(70.9%, 48.6%, 0%, 29.8%)
CIE-LABlab(40.63, 15.97, -50.42)
CIE-LCHlch(40.63, 52.89, 287.57°)
OKLaboklab(49.37% -0.0166 -0.1446)
OKLCHoklch(49.37% 0.146 263.4)
XYZxyz(13.3771, 11.6376, 44.1804)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CB3 #B38B34
analogous
#349CB3 #345CB3 #4B34B3
triadic
#345CB3 #B3345C #5CB334
tetradic
#345CB3 #B3349C #B38B34 #34B34B
square
#345CB3 #B3349C #B38B34 #34B34B
split-complementary
#345CB3 #B34B34 #9CB334
monochromatic
#182B54 #264484 #345CB3 #567CCE #86A1DC

Accessibility & contrast

On white

6.31
#345CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #345CB3
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CB3#FFFFFF#000000##FFFFFF
##345CB31.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C66B6
Deuteranopia (green-blind)
#065AB1
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #345cb3;
/* rgb */ color: rgb(52, 92, 179);
/* oklch */ color: oklch(49.4% 0.146 263.4);
Tailwind
colors: {
  custom: {
    50: '#7b89ca',
    500: '#345cb3',
    950: '#000000',
  },
}
SCSS
$custom: #345cb3;
$custom-light: #7b89ca;
$custom-dark: #000000;
JSON
{
  "hex": "#345cb3",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 179
  },
  "hsl": {
    "h": 221.102,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49369,
    "c": 0.14558,
    "h": 263.4
  },
  "luminance": 0.11639
}

Semantic roles & 50–950 ramp

primary
#345CB3
secondary
#C5AF7D
accent
#AF49DE
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #345CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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