#345EBA#345EBA

#345EBA is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.3% C 0.153 H 263.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#345EBA
RGBrgb(52, 94, 186)
HSLhsl(221, 56%, 47%)
HSVhsv(221, 72%, 73%)
CMYKcmyk(72%, 49.5%, 0%, 27.1%)
CIE-LABlab(41.66, 17.28, -52.87)
CIE-LCHlch(41.66, 55.63, 288.10°)
OKLaboklab(50.3% -0.0174 -0.1518)
OKLCHoklch(50.3% 0.153 263.5)
XYZxyz(14.2787, 12.2791, 48.0624)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345EBA #BA9034
analogous
#34A1BA #345EBA #4D34BA
triadic
#345EBA #BA345E #5EBA34
tetradic
#345EBA #BA34A1 #BA9034 #34BA4D
square
#345EBA #BA34A1 #BA9034 #34BA4D
split-complementary
#345EBA #BA4D34 #A1BA34
monochromatic
#192E5A #27468A #345EBA #5A7FD1 #8AA4DE

Accessibility & contrast

On white

6.08
#345EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #345EBA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345EBA#FFFFFF#000000##FFFFFF
##345EBA1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2969BD
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #345eba;
/* rgb */ color: rgb(52, 94, 186);
/* oklch */ color: oklch(50.3% 0.153 263.5);
Tailwind
colors: {
  custom: {
    50: '#7c8bcf',
    500: '#345eba',
    950: '#000000',
  },
}
SCSS
$custom: #345eba;
$custom-light: #7c8bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#345eba",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 186
  },
  "hsl": {
    "h": 221.194,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50298,
    "c": 0.15282,
    "h": 263.5
  },
  "luminance": 0.12281
}

Semantic roles & 50–950 ramp

primary
#345EBA
secondary
#C8B281
accent
#B048E0
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #345EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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