#345795#345795

#345795 is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.2% C 0.109 H 261.0°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#345795
RGBrgb(52, 87, 149)
HSLhsl(218, 48%, 39%)
HSVhsv(218, 65%, 58%)
CMYKcmyk(65.1%, 41.6%, 0%, 41.6%)
CIE-LABlab(37.33, 8.12, -37.86)
CIE-LCHlch(37.33, 38.72, 282.10°)
OKLaboklab(46.22% -0.0171 -0.1078)
OKLCHoklch(46.22% 0.109 261)
XYZxyz(10.2473, 9.7154, 29.7632)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345795 #957234
analogous
#348895 #345795 #423495
triadic
#345795 #953457 #579534
tetradic
#345795 #953488 #957234 #349542
square
#345795 #953488 #957234 #349542
split-complementary
#345795 #954234 #889534
monochromatic
#14223A #243D68 #345795 #4772BF #7595CF

Accessibility & contrast

On white

7.14
#345795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#345795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345795
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345795#FFFFFF#000000##FFFFFF
##3457951.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5D97
Deuteranopia (green-blind)
#2D5494
Tritanopia (blue-blind)
#00656E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #345795;
/* rgb */ color: rgb(52, 87, 149);
/* oklch */ color: oklch(46.2% 0.109 261.0);
Tailwind
colors: {
  custom: {
    50: '#7586b4',
    500: '#345795',
    950: '#000000',
  },
}
SCSS
$custom: #345795;
$custom-light: #7586b4;
$custom-dark: #000000;
JSON
{
  "hex": "#345795",
  "rgb": {
    "r": 52,
    "g": 87,
    "b": 149
  },
  "hsl": {
    "h": 218.351,
    "s": 48.259,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46223,
    "c": 0.10913,
    "h": 261
  },
  "luminance": 0.09716
}

Semantic roles & 50–950 ramp

primary
#345795
secondary
#B79D6E
accent
#A750D8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345795

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

Preview Lab → · Contrast checker → · Palette generator →

#345795 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva