#345AB8#345AB8

#345AB8 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.3% C 0.155 H 264.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#345AB8
RGBrgb(52, 90, 184)
HSLhsl(223, 56%, 46%)
HSVhsv(223, 72%, 72%)
CMYKcmyk(71.7%, 51.1%, 0%, 27.8%)
CIE-LABlab(40.41, 19.13, -53.71)
CIE-LCHlch(40.41, 57.02, 289.61°)
OKLaboklab(49.31% -0.0142 -0.1543)
OKLCHoklch(49.31% 0.155 264.7)
XYZxyz(13.7210, 11.5016, 46.8350)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345AB8 #B89234
analogous
#349CB8 #345AB8 #5034B8
triadic
#345AB8 #B8345A #5AB834
tetradic
#345AB8 #B8349C #B89234 #34B850
square
#345AB8 #B8349C #B89234 #34B850
split-complementary
#345AB8 #B85034 #9CB834
monochromatic
#192B59 #274388 #345AB8 #597BD0 #89A1DE

Accessibility & contrast

On white

6.36
#345AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#345AB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345AB8
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345AB8#FFFFFF#000000##FFFFFF
##345AB81.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2066BB
Deuteranopia (green-blind)
#005AB6
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #345ab8;
/* rgb */ color: rgb(52, 90, 184);
/* oklch */ color: oklch(49.3% 0.155 264.7);
Tailwind
colors: {
  custom: {
    50: '#7c88ce',
    500: '#345ab8',
    950: '#000000',
  },
}
SCSS
$custom: #345ab8;
$custom-light: #7c88ce;
$custom-dark: #000000;
JSON
{
  "hex": "#345ab8",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 184
  },
  "hsl": {
    "h": 222.727,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49307,
    "c": 0.155,
    "h": 264.7
  },
  "luminance": 0.11503
}

Semantic roles & 50–950 ramp

primary
#345AB8
secondary
#C8B380
accent
#B449DF
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #345AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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