#345B95#345B95

#345B95 is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.1% C 0.104 H 258.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#345B95
RGBrgb(52, 91, 149)
HSLhsl(216, 48%, 39%)
HSVhsv(216, 65%, 58%)
CMYKcmyk(65.1%, 38.9%, 0%, 41.6%)
CIE-LABlab(38.52, 5.53, -35.96)
CIE-LCHlch(38.52, 36.39, 278.74°)
OKLaboklab(47.15% -0.0214 -0.1022)
OKLCHoklch(47.15% 0.104 258.2)
XYZxyz(10.5801, 10.3812, 29.8741)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345B95 #956E34
analogous
#348C95 #345B95 #3D3495
triadic
#345B95 #95345B #5B9534
tetradic
#345B95 #95348C #956E34 #34953D
square
#345B95 #95348C #956E34 #34953D
split-complementary
#345B95 #953D34 #8C9534
monochromatic
#14243A #243F68 #345B95 #4777BF #7599CF

Accessibility & contrast

On white

6.83
#345B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#345B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345B95
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345B95#FFFFFF#000000##FFFFFF
##345B951.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426097
Deuteranopia (green-blind)
#345794
Tritanopia (blue-blind)
#006871
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #345b95;
/* rgb */ color: rgb(52, 91, 149);
/* oklch */ color: oklch(47.1% 0.104 258.2);
Tailwind
colors: {
  custom: {
    50: '#7589b4',
    500: '#345b95',
    950: '#000000',
  },
}
SCSS
$custom: #345b95;
$custom-light: #7589b4;
$custom-dark: #000000;
JSON
{
  "hex": "#345b95",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 149
  },
  "hsl": {
    "h": 215.876,
    "s": 48.259,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47147,
    "c": 0.10441,
    "h": 258.2
  },
  "luminance": 0.10382
}

Semantic roles & 50–950 ramp

primary
#345B95
secondary
#B79A6E
accent
#A150D8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345B95

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

Preview Lab → · Contrast checker → · Palette generator →

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