#345EBB#345EBB

#345EBB is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.4% C 0.154 H 263.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#345EBB
RGBrgb(52, 94, 187)
HSLhsl(221, 56%, 47%)
HSVhsv(221, 72%, 73%)
CMYKcmyk(72.2%, 49.7%, 0%, 26.7%)
CIE-LABlab(41.72, 17.65, -53.35)
CIE-LCHlch(41.72, 56.19, 288.31°)
OKLaboklab(50.37% -0.0173 -0.1532)
OKLCHoklch(50.37% 0.154 263.6)
XYZxyz(14.3853, 12.3218, 48.6243)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345EBB #BB9134
analogous
#34A2BB #345EBB #4D34BB
triadic
#345EBB #BB345E #5EBB34
tetradic
#345EBB #BB34A2 #BB9134 #34BB4D
square
#345EBB #BB34A2 #BB9134 #34BB4D
split-complementary
#345EBB #BB4D34 #A2BB34
monochromatic
#192E5B #27468B #345EBB #5B80D1 #8BA5DF

Accessibility & contrast

On white

6.06
#345EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#345EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345EBB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345EBB#FFFFFF#000000##FFFFFF
##345EBB1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2869BE
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #345ebb;
/* rgb */ color: rgb(52, 94, 187);
/* oklch */ color: oklch(50.4% 0.154 263.6);
Tailwind
colors: {
  custom: {
    50: '#7d8bd0',
    500: '#345ebb',
    950: '#000000',
  },
}
SCSS
$custom: #345ebb;
$custom-light: #7d8bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#345ebb",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 187
  },
  "hsl": {
    "h": 221.333,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5037,
    "c": 0.15419,
    "h": 263.6
  },
  "luminance": 0.12323
}

Semantic roles & 50–950 ramp

primary
#345EBB
secondary
#C9B382
accent
#B148E0
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #345EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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