#345FB9#345FB9

#345FB9 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.4% C 0.150 H 262.9°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#345FB9
RGBrgb(52, 95, 185)
HSLhsl(221, 56%, 46%)
HSVhsv(221, 72%, 73%)
CMYKcmyk(71.9%, 48.6%, 0%, 27.5%)
CIE-LABlab(41.87, 16.26, -51.95)
CIE-LCHlch(41.87, 54.43, 287.38°)
OKLaboklab(50.44% -0.0184 -0.1491)
OKLCHoklch(50.44% 0.15 262.9)
XYZxyz(14.2622, 12.4158, 47.5344)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345FB9 #B98E34
analogous
#34A2B9 #345FB9 #4C34B9
triadic
#345FB9 #B9345F #5FB934
tetradic
#345FB9 #B934A2 #B98E34 #34B94C
square
#345FB9 #B934A2 #B98E34 #34B94C
split-complementary
#345FB9 #B94C34 #A2B934
monochromatic
#192E59 #274689 #345FB9 #5A80D1 #89A5DE

Accessibility & contrast

On white

6.03
#345FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#345FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345FB9
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345FB9#FFFFFF#000000##FFFFFF
##345FB91.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D69BC
Deuteranopia (green-blind)
#025DB7
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #345fb9;
/* rgb */ color: rgb(52, 95, 185);
/* oklch */ color: oklch(50.4% 0.150 262.9);
Tailwind
colors: {
  custom: {
    50: '#7c8bcf',
    500: '#345fb9',
    950: '#000000',
  },
}
SCSS
$custom: #345fb9;
$custom-light: #7c8bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#345fb9",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 185
  },
  "hsl": {
    "h": 220.602,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50439,
    "c": 0.15021,
    "h": 262.9
  },
  "luminance": 0.12417
}

Semantic roles & 50–950 ramp

primary
#345FB9
secondary
#C8B181
accent
#AF48DF
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #345FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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