#345793#345793

#345793 is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.1% C 0.106 H 260.5°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#345793
RGBrgb(52, 87, 147)
HSLhsl(218, 48%, 39%)
HSVhsv(218, 65%, 58%)
CMYKcmyk(64.6%, 40.8%, 0%, 42.4%)
CIE-LABlab(37.21, 7.38, -36.83)
CIE-LCHlch(37.21, 37.57, 281.34°)
OKLaboklab(46.1% -0.0175 -0.1048)
OKLCHoklch(46.1% 0.106 260.5)
XYZxyz(10.0890, 9.6521, 28.9295)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345793 #937034
analogous
#348793 #345793 #413493
triadic
#345793 #933457 #579334
tetradic
#345793 #933487 #937034 #349341
square
#345793 #933487 #937034 #349341
split-complementary
#345793 #934134 #879334
monochromatic
#142139 #243C66 #345793 #4672BE #7495CE

Accessibility & contrast

On white

7.17
#345793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#345793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345793
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345793#FFFFFF#000000##FFFFFF
##3457931.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #345793;
/* rgb */ color: rgb(52, 87, 147);
/* oklch */ color: oklch(46.1% 0.106 260.5);
Tailwind
colors: {
  custom: {
    50: '#7586b3',
    500: '#345793',
    950: '#000000',
  },
}
SCSS
$custom: #345793;
$custom-light: #7586b3;
$custom-dark: #000000;
JSON
{
  "hex": "#345793",
  "rgb": {
    "r": 52,
    "g": 87,
    "b": 147
  },
  "hsl": {
    "h": 217.895,
    "s": 47.739,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46095,
    "c": 0.10624,
    "h": 260.5
  },
  "luminance": 0.09653
}

Semantic roles & 50–950 ramp

primary
#345793
secondary
#B69B6D
accent
#A650D7
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345793

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

Preview Lab → · Contrast checker → · Palette generator →

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