#345799#345799

#345799 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.5% C 0.115 H 261.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#345799
RGBrgb(52, 87, 153)
HSLhsl(219, 49%, 40%)
HSVhsv(219, 66%, 60%)
CMYKcmyk(66%, 43.1%, 0%, 40%)
CIE-LABlab(37.56, 9.58, -39.89)
CIE-LCHlch(37.56, 41.02, 283.51°)
OKLaboklab(46.48% -0.0162 -0.1137)
OKLCHoklch(46.48% 0.115 261.9)
XYZxyz(10.5721, 9.8454, 31.4740)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345799 #997634
analogous
#348999 #345799 #443499
triadic
#345799 #993457 #579934
tetradic
#345799 #993489 #997634 #349944
square
#345799 #993489 #997634 #349944
split-complementary
#345799 #994434 #899934
monochromatic
#15233E #243D6B #345799 #4973C1 #7796D1

Accessibility & contrast

On white

7.07
#345799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#345799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345799
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345799#FFFFFF#000000##FFFFFF
##3457991.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395D9C
Deuteranopia (green-blind)
#295498
Tritanopia (blue-blind)
#006670
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #345799;
/* rgb */ color: rgb(52, 87, 153);
/* oklch */ color: oklch(46.5% 0.115 261.9);
Tailwind
colors: {
  custom: {
    50: '#7686b7',
    500: '#345799',
    950: '#000000',
  },
}
SCSS
$custom: #345799;
$custom-light: #7686b7;
$custom-dark: #000000;
JSON
{
  "hex": "#345799",
  "rgb": {
    "r": 52,
    "g": 87,
    "b": 153
  },
  "hsl": {
    "h": 219.208,
    "s": 49.268,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46483,
    "c": 0.1149,
    "h": 261.9
  },
  "luminance": 0.09846
}

Semantic roles & 50–950 ramp

primary
#345799
secondary
#B9A070
accent
#A94FD9
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345799

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

Preview Lab → · Contrast checker → · Palette generator →

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