#345F9C#345F9C

#345F9C is a mid, moderate blue. Relative luminance 0.113; OKLCH L 48.5% C 0.110 H 257.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#345F9C
RGBrgb(52, 95, 156)
HSLhsl(215, 50%, 41%)
HSVhsv(215, 67%, 61%)
CMYKcmyk(66.7%, 39.1%, 0%, 38.8%)
CIE-LABlab(40.10, 5.52, -37.64)
CIE-LCHlch(40.10, 38.05, 278.35°)
OKLaboklab(48.51% -0.024 -0.1071)
OKLCHoklch(48.51% 0.11 257.4)
XYZxyz(11.5070, 11.3137, 33.0234)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345F9C #9C7134
analogous
#34939C #345F9C #3D349C
triadic
#345F9C #9C345F #5F9C34
tetradic
#345F9C #9C3493 #9C7134 #349C3D
square
#345F9C #9C3493 #9C7134 #349C3D
split-complementary
#345F9C #9C3D34 #939C34
monochromatic
#152740 #25436E #345F9C #4A7CC3 #789DD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##345F9C#FFFFFF#000000##FFFFFF
##345F9C1.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)
#44649E
Deuteranopia (green-blind)
#355A9B
Tritanopia (blue-blind)
#006D76
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #345f9c;
/* rgb */ color: rgb(52, 95, 156);
/* oklch */ color: oklch(48.5% 0.110 257.4);
Tailwind
colors: {
  custom: {
    50: '#778cb9',
    500: '#345f9c',
    950: '#000000',
  },
}
SCSS
$custom: #345f9c;
$custom-light: #778cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#345f9c",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 156
  },
  "hsl": {
    "h": 215.192,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48507,
    "c": 0.10971,
    "h": 257.4
  },
  "luminance": 0.11315
}

Semantic roles & 50–950 ramp

primary
#345F9C
secondary
#BB9C71
accent
#A04EDA
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #345F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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