#345AB1#345AB1

#345AB1 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.8% C 0.145 H 264.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#345AB1
RGBrgb(52, 90, 177)
HSLhsl(222, 55%, 45%)
HSVhsv(222, 71%, 69%)
CMYKcmyk(70.6%, 49.2%, 0%, 30.6%)
CIE-LABlab(39.94, 16.53, -50.36)
CIE-LCHlch(39.94, 53.00, 288.17°)
OKLaboklab(48.8% -0.0151 -0.1445)
OKLCHoklch(48.8% 0.145 264)
XYZxyz(13.0054, 11.2154, 43.0658)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345AB1 #B18B34
analogous
#3499B1 #345AB1 #4D34B1
triadic
#345AB1 #B1345A #5AB134
tetradic
#345AB1 #B13499 #B18B34 #34B14D
square
#345AB1 #B13499 #B18B34 #34B14D
split-complementary
#345AB1 #B14D34 #99B134
monochromatic
#182A52 #264282 #345AB1 #557ACD #849FDB

Accessibility & contrast

On white

6.47
#345AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#345AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345AB1
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345AB1#FFFFFF#000000##FFFFFF
##345AB11.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A64B4
Deuteranopia (green-blind)
#0159AF
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #345ab1;
/* rgb */ color: rgb(52, 90, 177);
/* oklch */ color: oklch(48.8% 0.145 264.0);
Tailwind
colors: {
  custom: {
    50: '#7b88c9',
    500: '#345ab1',
    950: '#000000',
  },
}
SCSS
$custom: #345ab1;
$custom-light: #7b88c9;
$custom-dark: #000000;
JSON
{
  "hex": "#345ab1",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 177
  },
  "hsl": {
    "h": 221.76,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48796,
    "c": 0.14528,
    "h": 264
  },
  "luminance": 0.11217
}

Semantic roles & 50–950 ramp

primary
#345AB1
secondary
#C5AF7C
accent
#B14ADE
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #345AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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