#34587F#34587F

#34587F is a mid, moderate cyan. Relative luminance 0.092; OKLCH L 45.1% C 0.077 H 251.6°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#34587F
RGBrgb(52, 88, 127)
HSLhsl(211, 42%, 35%)
HSVhsv(211, 59%, 50%)
CMYKcmyk(59.1%, 30.7%, 0%, 50.2%)
CIE-LABlab(36.44, -0.41, -25.86)
CIE-LCHlch(36.44, 25.86, 269.08°)
OKLaboklab(45.15% -0.0242 -0.0728)
OKLCHoklch(45.15% 0.077 251.6)
XYZxyz(8.7353, 9.2411, 21.3979)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34587F #7F5B34
analogous
#347D7F #34587F #36347F
triadic
#34587F #7F3458 #587F34
tetradic
#34587F #7F347D #7F5B34 #347F36
square
#34587F #7F347D #7F5B34 #347F36
split-complementary
#34587F #7F3634 #7D7F34
monochromatic
#101C28 #223A54 #34587F #4676AA #6B95C2

Accessibility & contrast

On white

7.37
#34587F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#34587F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34587F
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34587F#FFFFFF#000000##FFFFFF
##34587F1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485A81
Deuteranopia (green-blind)
#3E527E
Tritanopia (blue-blind)
#006166
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #34587f;
/* rgb */ color: rgb(52, 88, 127);
/* oklch */ color: oklch(45.1% 0.077 251.6);
Tailwind
colors: {
  custom: {
    50: '#7286a4',
    500: '#34587f',
    950: '#000000',
  },
}
SCSS
$custom: #34587f;
$custom-light: #7286a4;
$custom-dark: #000000;
JSON
{
  "hex": "#34587f",
  "rgb": {
    "r": 52,
    "g": 88,
    "b": 127
  },
  "hsl": {
    "h": 211.2,
    "s": 41.899,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45148,
    "c": 0.07668,
    "h": 251.6
  },
  "luminance": 0.09242
}

Semantic roles & 50–950 ramp

primary
#34587F
secondary
#AA8964
accent
#9656D2
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #34587F

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

Preview Lab → · Contrast checker → · Palette generator →

#34587F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva