#345AB3#345AB3

#345AB3 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.9% C 0.148 H 264.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#345AB3
RGBrgb(52, 90, 179)
HSLhsl(222, 55%, 45%)
HSVhsv(222, 71%, 70%)
CMYKcmyk(70.9%, 49.7%, 0%, 29.8%)
CIE-LABlab(40.07, 17.27, -51.32)
CIE-LCHlch(40.07, 54.15, 288.60°)
OKLaboklab(48.94% -0.0148 -0.1473)
OKLCHoklch(48.94% 0.148 264.2)
XYZxyz(13.2062, 11.2957, 44.1234)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345AB3 #B38D34
analogous
#3499B3 #345AB3 #4D34B3
triadic
#345AB3 #B3345A #5AB334
tetradic
#345AB3 #B33499 #B38D34 #34B34D
square
#345AB3 #B33499 #B38D34 #34B34D
split-complementary
#345AB3 #B34D34 #99B334
monochromatic
#182A54 #264284 #345AB3 #567ACE #869FDC

Accessibility & contrast

On white

6.44
#345AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#345AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345AB3
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345AB3#FFFFFF#000000##FFFFFF
##345AB31.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2765B6
Deuteranopia (green-blind)
#0059B1
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #345ab3;
/* rgb */ color: rgb(52, 90, 179);
/* oklch */ color: oklch(48.9% 0.148 264.2);
Tailwind
colors: {
  custom: {
    50: '#7b88ca',
    500: '#345ab3',
    950: '#000000',
  },
}
SCSS
$custom: #345ab3;
$custom-light: #7b88ca;
$custom-dark: #000000;
JSON
{
  "hex": "#345ab3",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 179
  },
  "hsl": {
    "h": 222.047,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48941,
    "c": 0.14807,
    "h": 264.2
  },
  "luminance": 0.11297
}

Semantic roles & 50–950 ramp

primary
#345AB3
secondary
#C5B07D
accent
#B249DE
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #345AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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