#345987#345987

#345987 is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.8% C 0.087 H 254.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#345987
RGBrgb(52, 89, 135)
HSLhsl(213, 44%, 37%)
HSVhsv(213, 61%, 53%)
CMYKcmyk(61.5%, 34.1%, 0%, 47.1%)
CIE-LABlab(37.16, 1.77, -29.63)
CIE-LCHlch(37.16, 29.68, 273.42°)
OKLaboklab(45.84% -0.0229 -0.0837)
OKLCHoklch(45.84% 0.087 254.7)
XYZxyz(9.3602, 9.6233, 24.2812)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345987 #876234
analogous
#348387 #345987 #393487
triadic
#345987 #873459 #598734
tetradic
#345987 #873483 #876234 #348739
square
#345987 #873483 #876234 #348739
split-complementary
#345987 #873934 #838734
monochromatic
#121F2F #233C5B #345987 #4576B3 #6E96C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##345987#FFFFFF#000000##FFFFFF
##3459871.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)
#465C89
Deuteranopia (green-blind)
#3B5486
Tritanopia (blue-blind)
#00636A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #345987;
/* rgb */ color: rgb(52, 89, 135);
/* oklch */ color: oklch(45.8% 0.087 254.7);
Tailwind
colors: {
  custom: {
    50: '#7387aa',
    500: '#345987',
    950: '#000000',
  },
}
SCSS
$custom: #345987;
$custom-light: #7387aa;
$custom-dark: #000000;
JSON
{
  "hex": "#345987",
  "rgb": {
    "r": 52,
    "g": 89,
    "b": 135
  },
  "hsl": {
    "h": 213.253,
    "s": 44.385,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45839,
    "c": 0.08681,
    "h": 254.7
  },
  "luminance": 0.09624
}

Semantic roles & 50–950 ramp

primary
#345987
secondary
#AF8F67
accent
#9B54D4
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #345987

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

Preview Lab → · Contrast checker → · Palette generator →

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