#3A587D#3A587D

#3A587D is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.4% C 0.071 H 254.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#3A587D
RGBrgb(58, 88, 125)
HSLhsl(213, 37%, 36%)
HSVhsv(213, 54%, 49%)
CMYKcmyk(53.6%, 29.6%, 0%, 51%)
CIE-LABlab(36.67, 0.34, -24.26)
CIE-LCHlch(36.67, 24.26, 270.79°)
OKLaboklab(45.38% -0.0192 -0.068)
OKLCHoklch(45.38% 0.071 254.3)
XYZxyz(8.9350, 9.3590, 20.7337)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A587D #7D5F3A
analogous
#3A797D #3A587D #3D3A7D
triadic
#3A587D #7D3A58 #587D3A
tetradic
#3A587D #7D3A79 #7D5F3A #3A7D3D
square
#3A587D #7D3A79 #7D5F3A #3A7D3D
split-complementary
#3A587D #7D3D3A #797D3A
monochromatic
#131D29 #273B53 #3A587D #4D75A7 #7395BE

Accessibility & contrast

On white

7.31
#3A587D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3A587D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A587D
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A587D#FFFFFF#000000##FFFFFF
##3A587D1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495A7F
Deuteranopia (green-blind)
#41537C
Tritanopia (blue-blind)
#186065
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a587d;
/* rgb */ color: rgb(58, 88, 125);
/* oklch */ color: oklch(45.4% 0.071 254.3);
Tailwind
colors: {
  custom: {
    50: '#7587a3',
    500: '#3a587d',
    950: '#000000',
  },
}
SCSS
$custom: #3a587d;
$custom-light: #7587a3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a587d",
  "rgb": {
    "r": 58,
    "g": 88,
    "b": 125
  },
  "hsl": {
    "h": 213.134,
    "s": 36.612,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45376,
    "c": 0.0707,
    "h": 254.3
  },
  "luminance": 0.0936
}

Semantic roles & 50–950 ramp

primary
#3A587D
secondary
#A88D6B
accent
#9A5BCD
background
#F7F8FA
surface
#EDEFF3
border
#C8CACD
text
#090B0F
muted
#7B7C7F

Preview Lab

Preview with #3A587D

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

Preview Lab → · Contrast checker → · Palette generator →

#3A587D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva