#345BB0#345BB0

#345BB0 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.9% C 0.143 H 263.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#345BB0
RGBrgb(52, 91, 176)
HSLhsl(221, 54%, 45%)
HSVhsv(221, 70%, 69%)
CMYKcmyk(70.5%, 48.3%, 0%, 31%)
CIE-LABlab(40.16, 15.50, -49.42)
CIE-LCHlch(40.16, 51.80, 287.41°)
OKLaboklab(48.94% -0.0161 -0.1417)
OKLCHoklch(48.94% 0.143 263.5)
XYZxyz(12.9910, 11.3455, 42.5711)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345BB0 #B08934
analogous
#3499B0 #345BB0 #4B34B0
triadic
#345BB0 #B0345B #5BB034
tetradic
#345BB0 #B03499 #B08934 #34B04B
square
#345BB0 #B03499 #B08934 #34B04B
split-complementary
#345BB0 #B04B34 #99B034
monochromatic
#182A52 #264381 #345BB0 #557ACD #849FDB

Accessibility & contrast

On white

6.42
#345BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#345BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345BB0
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345BB0#FFFFFF#000000##FFFFFF
##345BB01.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D65B3
Deuteranopia (green-blind)
#0C59AE
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #345bb0;
/* rgb */ color: rgb(52, 91, 176);
/* oklch */ color: oklch(48.9% 0.143 263.5);
Tailwind
colors: {
  custom: {
    50: '#7b88c8',
    500: '#345bb0',
    950: '#000000',
  },
}
SCSS
$custom: #345bb0;
$custom-light: #7b88c8;
$custom-dark: #000000;
JSON
{
  "hex": "#345bb0",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 176
  },
  "hsl": {
    "h": 221.129,
    "s": 54.386,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4894,
    "c": 0.14264,
    "h": 263.5
  },
  "luminance": 0.11347
}

Semantic roles & 50–950 ramp

primary
#345BB0
secondary
#C4AD7C
accent
#AF4ADE
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #345BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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