#345995#345995

#345995 is a mid, moderate blue. Relative luminance 0.100; OKLCH L 46.7% C 0.107 H 259.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#345995
RGBrgb(52, 89, 149)
HSLhsl(217, 48%, 39%)
HSVhsv(217, 65%, 58%)
CMYKcmyk(65.1%, 40.3%, 0%, 41.6%)
CIE-LABlab(37.92, 6.82, -36.91)
CIE-LCHlch(37.92, 37.54, 280.47°)
OKLaboklab(46.68% -0.0192 -0.105)
OKLCHoklch(46.68% 0.107 259.6)
XYZxyz(10.4114, 10.0438, 29.8179)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345995 #957034
analogous
#348A95 #345995 #3F3495
triadic
#345995 #953459 #599534
tetradic
#345995 #95348A #957034 #34953F
square
#345995 #95348A #957034 #34953F
split-complementary
#345995 #953F34 #8A9534
monochromatic
#14233A #243E68 #345995 #4775BF #7597CF

Accessibility & contrast

On white

6.98
#345995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#345995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345995
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345995#FFFFFF#000000##FFFFFF
##3459951.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5E97
Deuteranopia (green-blind)
#305594
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #345995;
/* rgb */ color: rgb(52, 89, 149);
/* oklch */ color: oklch(46.7% 0.107 259.6);
Tailwind
colors: {
  custom: {
    50: '#7587b4',
    500: '#345995',
    950: '#000000',
  },
}
SCSS
$custom: #345995;
$custom-light: #7587b4;
$custom-dark: #000000;
JSON
{
  "hex": "#345995",
  "rgb": {
    "r": 52,
    "g": 89,
    "b": 149
  },
  "hsl": {
    "h": 217.113,
    "s": 48.259,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46683,
    "c": 0.10674,
    "h": 259.6
  },
  "luminance": 0.10045
}

Semantic roles & 50–950 ramp

primary
#345995
secondary
#B79B6E
accent
#A450D8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345995

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

Preview Lab → · Contrast checker → · Palette generator →

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