#345BB5#345BB5

#345BB5 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.3% C 0.150 H 264.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#345BB5
RGBrgb(52, 91, 181)
HSLhsl(222, 55%, 46%)
HSVhsv(222, 71%, 71%)
CMYKcmyk(71.3%, 49.7%, 0%, 29%)
CIE-LABlab(40.49, 17.37, -51.83)
CIE-LCHlch(40.49, 54.66, 288.52°)
OKLaboklab(49.3% -0.0155 -0.1488)
OKLCHoklch(49.3% 0.15 264.1)
XYZxyz(13.4948, 11.5470, 45.2247)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345BB5 #B58E34
analogous
#349CB5 #345BB5 #4D34B5
triadic
#345BB5 #B5345B #5BB534
tetradic
#345BB5 #B5349C #B58E34 #34B54D
square
#345BB5 #B5349C #B58E34 #34B54D
split-complementary
#345BB5 #B54D34 #9CB534
monochromatic
#192B56 #264385 #345BB5 #577BCF #87A1DC

Accessibility & contrast

On white

6.35
#345BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #345BB5
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345BB5#FFFFFF#000000##FFFFFF
##345BB51.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2766B8
Deuteranopia (green-blind)
#005AB3
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #345bb5;
/* rgb */ color: rgb(52, 91, 181);
/* oklch */ color: oklch(49.3% 0.150 264.1);
Tailwind
colors: {
  custom: {
    50: '#7c88cc',
    500: '#345bb5',
    950: '#000000',
  },
}
SCSS
$custom: #345bb5;
$custom-light: #7c88cc;
$custom-dark: #000000;
JSON
{
  "hex": "#345bb5",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 221.86,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49298,
    "c": 0.14961,
    "h": 264.1
  },
  "luminance": 0.11548
}

Semantic roles & 50–950 ramp

primary
#345BB5
secondary
#C6B17F
accent
#B149DF
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #345BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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