#3A5C8A#3A5C8A

#3A5C8A is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 47.0% C 0.085 H 256.3°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#3A5C8A
RGBrgb(58, 92, 138)
HSLhsl(215, 41%, 38%)
HSVhsv(215, 58%, 54%)
CMYKcmyk(58%, 33.3%, 0%, 45.9%)
CIE-LABlab(38.53, 2.24, -29.28)
CIE-LCHlch(38.53, 29.36, 274.37°)
OKLaboklab(47.04% -0.0201 -0.0826)
OKLCHoklch(47.04% 0.085 256.3)
XYZxyz(10.1579, 10.3880, 25.5096)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5C8A #8A683A
analogous
#3A848A #3A5C8A #403A8A
triadic
#3A5C8A #8A3A5C #5C8A3A
tetradic
#3A5C8A #8A3A84 #8A683A #3A8A40
square
#3A5C8A #8A3A84 #8A683A #3A8A40
split-complementary
#3A5C8A #8A403A #848A3A
monochromatic
#162334 #283F5F #3A5C8A #4D79B4 #7899C6

Accessibility & contrast

On white

6.82
#3A5C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3A5C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5C8A
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5C8A#FFFFFF#000000##FFFFFF
##3A5C8A1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495F8C
Deuteranopia (green-blind)
#3F5789
Tritanopia (blue-blind)
#00666C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3a5c8a;
/* rgb */ color: rgb(58, 92, 138);
/* oklch */ color: oklch(47.0% 0.085 256.3);
Tailwind
colors: {
  custom: {
    50: '#7789ac',
    500: '#3a5c8a',
    950: '#000000',
  },
}
SCSS
$custom: #3a5c8a;
$custom-light: #7789ac;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5c8a",
  "rgb": {
    "r": 58,
    "g": 92,
    "b": 138
  },
  "hsl": {
    "h": 214.5,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47045,
    "c": 0.08499,
    "h": 256.3
  },
  "luminance": 0.10389
}

Semantic roles & 50–950 ramp

primary
#3A5C8A
secondary
#B09570
accent
#9D57D1
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #3A5C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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