#345EBF#345EBF

#345EBF is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.7% C 0.160 H 264.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#345EBF
RGBrgb(52, 94, 191)
HSLhsl(222, 57%, 48%)
HSVhsv(222, 73%, 75%)
CMYKcmyk(72.8%, 50.8%, 0%, 25.1%)
CIE-LABlab(41.99, 19.14, -55.24)
CIE-LCHlch(41.99, 58.47, 289.11°)
OKLaboklab(50.66% -0.0168 -0.1588)
OKLCHoklch(50.66% 0.16 264)
XYZxyz(14.8195, 12.4955, 50.9110)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345EBF #BF9534
analogous
#34A3BF #345EBF #5034BF
triadic
#345EBF #BF345E #5EBF34
tetradic
#345EBF #BF34A3 #BF9534 #34BF50
square
#345EBF #BF34A3 #BF9534 #34BF50
split-complementary
#345EBF #BF5034 #A3BF34
monochromatic
#1A2F5F #27468F #345EBF #5D81D3 #8DA6E0

Accessibility & contrast

On white

6.00
#345EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#345EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345EBF
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345EBF#FFFFFF#000000##FFFFFF
##345EBF1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226AC2
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #345ebf;
/* rgb */ color: rgb(52, 94, 191);
/* oklch */ color: oklch(50.7% 0.160 264.0);
Tailwind
colors: {
  custom: {
    50: '#7e8bd3',
    500: '#345ebf',
    950: '#000000',
  },
}
SCSS
$custom: #345ebf;
$custom-light: #7e8bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#345ebf",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 191
  },
  "hsl": {
    "h": 221.871,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50662,
    "c": 0.15969,
    "h": 264
  },
  "luminance": 0.12497
}

Semantic roles & 50–950 ramp

primary
#345EBF
secondary
#CAB584
accent
#B247E0
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #345EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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