#345E9F#345E9F

#345E9F is a mid, moderate blue. Relative luminance 0.112; OKLCH L 48.5% C 0.115 H 258.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#345E9F
RGBrgb(52, 94, 159)
HSLhsl(216, 51%, 41%)
HSVhsv(216, 67%, 62%)
CMYKcmyk(67.3%, 40.9%, 0%, 37.6%)
CIE-LABlab(39.98, 7.26, -39.63)
CIE-LCHlch(39.98, 40.29, 280.38°)
OKLaboklab(48.47% -0.0222 -0.1129)
OKLCHoklch(48.47% 0.115 258.9)
XYZxyz(11.6746, 11.2375, 34.3480)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345E9F #9F7534
analogous
#34949F #345E9F #40349F
triadic
#345E9F #9F345E #5E9F34
tetradic
#345E9F #9F3494 #9F7534 #349F40
square
#345E9F #9F3494 #9F7534 #349F40
split-complementary
#345E9F #9F4034 #949F34
monochromatic
#162743 #254371 #345E9F #4C7BC4 #7A9DD3

Accessibility & contrast

On white

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

On black

3.25
#345E9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##345E9F#FFFFFF#000000##FFFFFF
##345E9F1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4064A2
Deuteranopia (green-blind)
#305A9E
Tritanopia (blue-blind)
#006D77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #345e9f;
/* rgb */ color: rgb(52, 94, 159);
/* oklch */ color: oklch(48.5% 0.115 258.9);
Tailwind
colors: {
  custom: {
    50: '#778bbc',
    500: '#345e9f',
    950: '#000000',
  },
}
SCSS
$custom: #345e9f;
$custom-light: #778bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#345e9f",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 159
  },
  "hsl": {
    "h": 216.449,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48465,
    "c": 0.11508,
    "h": 258.9
  },
  "luminance": 0.11239
}

Semantic roles & 50–950 ramp

primary
#345E9F
secondary
#BC9F73
accent
#A34EDA
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #345E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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