#345FA1#345FA1

#345FA1 is a mid, moderate blue. Relative luminance 0.115; OKLCH L 48.8% C 0.117 H 258.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#345FA1
RGBrgb(52, 95, 161)
HSLhsl(216, 51%, 42%)
HSVhsv(216, 68%, 63%)
CMYKcmyk(67.7%, 41%, 0%, 36.9%)
CIE-LABlab(40.39, 7.36, -40.17)
CIE-LCHlch(40.39, 40.84, 280.38°)
OKLaboklab(48.82% -0.0228 -0.1145)
OKLCHoklch(48.82% 0.117 258.7)
XYZxyz(11.9391, 11.4865, 35.2992)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345FA1 #A17634
analogous
#3496A1 #345FA1 #3F34A1
triadic
#345FA1 #A1345F #5FA134
tetradic
#345FA1 #A13496 #A17634 #34A13F
square
#345FA1 #A13496 #A17634 #34A13F
split-complementary
#345FA1 #A13F34 #96A134
monochromatic
#162844 #254473 #345FA1 #4D7CC5 #7B9ED4

Accessibility & contrast

On white

6.37
#345FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #345FA1
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345FA1#FFFFFF#000000##FFFFFF
##345FA11.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4165A4
Deuteranopia (green-blind)
#305BA0
Tritanopia (blue-blind)
#006E78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #345fa1;
/* rgb */ color: rgb(52, 95, 161);
/* oklch */ color: oklch(48.8% 0.117 258.7);
Tailwind
colors: {
  custom: {
    50: '#778cbd',
    500: '#345fa1',
    950: '#000000',
  },
}
SCSS
$custom: #345fa1;
$custom-light: #778cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#345fa1",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 161
  },
  "hsl": {
    "h": 216.33,
    "s": 51.174,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48821,
    "c": 0.11672,
    "h": 258.7
  },
  "luminance": 0.11488
}

Semantic roles & 50–950 ramp

primary
#345FA1
secondary
#BDA074
accent
#A34DDB
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #345FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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