#345787#345787

#345787 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.4% C 0.089 H 256.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#345787
RGBrgb(52, 87, 135)
HSLhsl(215, 44%, 37%)
HSVhsv(215, 61%, 53%)
CMYKcmyk(61.5%, 35.6%, 0%, 47.1%)
CIE-LABlab(36.55, 3.05, -30.60)
CIE-LCHlch(36.55, 30.75, 275.69°)
OKLaboklab(45.36% -0.0206 -0.0865)
OKLCHoklch(45.36% 0.089 256.6)
XYZxyz(9.1960, 9.2949, 24.2265)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345787 #876434
analogous
#348187 #345787 #3B3487
triadic
#345787 #873457 #578734
tetradic
#345787 #873481 #876434 #34873B
square
#345787 #873481 #876434 #34873B
split-complementary
#345787 #873B34 #818734
monochromatic
#121E2F #233B5B #345787 #4573B3 #6E94C7

Accessibility & contrast

On white

7.34
#345787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#345787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345787
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345787#FFFFFF#000000##FFFFFF
##3457871.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435A89
Deuteranopia (green-blind)
#385286
Tritanopia (blue-blind)
#006268
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #345787;
/* rgb */ color: rgb(52, 87, 135);
/* oklch */ color: oklch(45.4% 0.089 256.6);
Tailwind
colors: {
  custom: {
    50: '#7386aa',
    500: '#345787',
    950: '#000000',
  },
}
SCSS
$custom: #345787;
$custom-light: #7386aa;
$custom-dark: #000000;
JSON
{
  "hex": "#345787",
  "rgb": {
    "r": 52,
    "g": 87,
    "b": 135
  },
  "hsl": {
    "h": 214.699,
    "s": 44.385,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45362,
    "c": 0.08896,
    "h": 256.6
  },
  "luminance": 0.09296
}

Semantic roles & 50–950 ramp

primary
#345787
secondary
#AF9167
accent
#9E54D4
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #345787

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

Preview Lab → · Contrast checker → · Palette generator →

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