#345792#345792

#345792 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.0% C 0.105 H 260.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#345792
RGBrgb(52, 87, 146)
HSLhsl(218, 47%, 39%)
HSVhsv(218, 64%, 57%)
CMYKcmyk(64.4%, 40.4%, 0%, 42.7%)
CIE-LABlab(37.15, 7.02, -36.32)
CIE-LCHlch(37.15, 36.99, 280.94°)
OKLaboklab(46.03% -0.0177 -0.1033)
OKLCHoklch(46.03% 0.105 260.2)
XYZxyz(10.0108, 9.6209, 28.5180)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345792 #926F34
analogous
#348692 #345792 #403492
triadic
#345792 #923457 #579234
tetradic
#345792 #923486 #926F34 #349240
square
#345792 #923486 #926F34 #349240
split-complementary
#345792 #924034 #869234
monochromatic
#142138 #243C65 #345792 #4672BD #7395CD

Accessibility & contrast

On white

7.18
#345792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#345792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345792
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345792#FFFFFF#000000##FFFFFF
##3457921.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5C94
Deuteranopia (green-blind)
#305391
Tritanopia (blue-blind)
#00646D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #345792;
/* rgb */ color: rgb(52, 87, 146);
/* oklch */ color: oklch(46.0% 0.105 260.2);
Tailwind
colors: {
  custom: {
    50: '#7586b2',
    500: '#345792',
    950: '#000000',
  },
}
SCSS
$custom: #345792;
$custom-light: #7586b2;
$custom-dark: #000000;
JSON
{
  "hex": "#345792",
  "rgb": {
    "r": 52,
    "g": 87,
    "b": 146
  },
  "hsl": {
    "h": 217.66,
    "s": 47.475,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46032,
    "c": 0.1048,
    "h": 260.2
  },
  "luminance": 0.09622
}

Semantic roles & 50–950 ramp

primary
#345792
secondary
#B59A6C
accent
#A551D7
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345792

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

Preview Lab → · Contrast checker → · Palette generator →

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