#345C87#345C87

#345C87 is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.6% C 0.084 H 251.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#345C87
RGBrgb(52, 92, 135)
HSLhsl(211, 44%, 37%)
HSVhsv(211, 61%, 53%)
CMYKcmyk(61.5%, 31.9%, 0%, 47.1%)
CIE-LABlab(38.08, -0.13, -28.18)
CIE-LCHlch(38.08, 28.18, 269.74°)
OKLaboklab(46.56% -0.0264 -0.0795)
OKLCHoklch(46.56% 0.084 251.6)
XYZxyz(9.6149, 10.1328, 24.3661)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345C87 #875F34
analogous
#348687 #345C87 #363487
triadic
#345C87 #87345C #5C8734
tetradic
#345C87 #873486 #875F34 #348736
square
#345C87 #873486 #875F34 #348736
split-complementary
#345C87 #873634 #868734
monochromatic
#12202F #233E5B #345C87 #457AB3 #6E99C7

Accessibility & contrast

On white

6.94
#345C87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#345C87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345C87
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345C87#FFFFFF#000000##FFFFFF
##345C871.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5E89
Deuteranopia (green-blind)
#3F5686
Tritanopia (blue-blind)
#00666B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #345c87;
/* rgb */ color: rgb(52, 92, 135);
/* oklch */ color: oklch(46.6% 0.084 251.6);
Tailwind
colors: {
  custom: {
    50: '#7389aa',
    500: '#345c87',
    950: '#000000',
  },
}
SCSS
$custom: #345c87;
$custom-light: #7389aa;
$custom-dark: #000000;
JSON
{
  "hex": "#345c87",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 135
  },
  "hsl": {
    "h": 211.084,
    "s": 44.385,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46562,
    "c": 0.08377,
    "h": 251.6
  },
  "luminance": 0.10134
}

Semantic roles & 50–950 ramp

primary
#345C87
secondary
#AF8D67
accent
#9654D4
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #345C87

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

Preview Lab → · Contrast checker → · Palette generator →

#345C87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva