#345688#345688

#345688 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.2% C 0.092 H 257.9°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#345688
RGBrgb(52, 86, 136)
HSLhsl(216, 45%, 37%)
HSVhsv(216, 62%, 53%)
CMYKcmyk(61.8%, 36.8%, 0%, 46.7%)
CIE-LABlab(36.30, 4.05, -31.60)
CIE-LCHlch(36.30, 31.86, 277.30°)
OKLaboklab(45.18% -0.0191 -0.0895)
OKLCHoklch(45.18% 0.092 257.9)
XYZxyz(9.1863, 9.1624, 24.5722)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345688 #886634
analogous
#348088 #345688 #3C3488
triadic
#345688 #883456 #568834
tetradic
#345688 #883480 #886634 #34883C
square
#345688 #883480 #886634 #34883C
split-complementary
#345688 #883C34 #808834
monochromatic
#121E2F #233A5C #345688 #4572B4 #6F93C8

Accessibility & contrast

On white

7.41
#345688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#345688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345688
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345688#FFFFFF#000000##FFFFFF
##3456881.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415A8A
Deuteranopia (green-blind)
#365287
Tritanopia (blue-blind)
#006168
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #345688;
/* rgb */ color: rgb(52, 86, 136);
/* oklch */ color: oklch(45.2% 0.092 257.9);
Tailwind
colors: {
  custom: {
    50: '#7385ab',
    500: '#345688',
    950: '#000000',
  },
}
SCSS
$custom: #345688;
$custom-light: #7385ab;
$custom-dark: #000000;
JSON
{
  "hex": "#345688",
  "rgb": {
    "r": 52,
    "g": 86,
    "b": 136
  },
  "hsl": {
    "h": 215.714,
    "s": 44.681,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45184,
    "c": 0.09152,
    "h": 257.9
  },
  "luminance": 0.09163
}

Semantic roles & 50–950 ramp

primary
#345688
secondary
#B09368
accent
#A053D4
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #345688

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

Preview Lab → · Contrast checker → · Palette generator →

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