#345EBD#345EBD

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

Color values

HEX#345EBD
RGBrgb(52, 94, 189)
HSLhsl(222, 57%, 47%)
HSVhsv(222, 72%, 74%)
CMYKcmyk(72.5%, 50.3%, 0%, 25.9%)
CIE-LABlab(41.86, 18.40, -54.30)
CIE-LCHlch(41.86, 57.33, 288.72°)
OKLaboklab(50.52% -0.017 -0.156)
OKLCHoklch(50.52% 0.157 263.8)
XYZxyz(14.6009, 12.4080, 49.7597)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345EBD #BD9334
analogous
#34A2BD #345EBD #4F34BD
triadic
#345EBD #BD345E #5EBD34
tetradic
#345EBD #BD34A2 #BD9334 #34BD4F
square
#345EBD #BD34A2 #BD9334 #34BD4F
split-complementary
#345EBD #BD4F34 #A2BD34
monochromatic
#1A2E5D #27468D #345EBD #5C80D2 #8CA6DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##345EBD#FFFFFF#000000##FFFFFF
##345EBD1.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)
#2569C0
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #345ebd;
/* rgb */ color: rgb(52, 94, 189);
/* oklch */ color: oklch(50.5% 0.157 263.8);
Tailwind
colors: {
  custom: {
    50: '#7d8bd1',
    500: '#345ebd',
    950: '#000000',
  },
}
SCSS
$custom: #345ebd;
$custom-light: #7d8bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#345ebd",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 189
  },
  "hsl": {
    "h": 221.606,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50515,
    "c": 0.15694,
    "h": 263.8
  },
  "luminance": 0.1241
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #345EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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