#3A7EAB#3A7EAB

#3A7EAB is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 56.9% C 0.098 H 240.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#3A7EAB
RGBrgb(58, 126, 171)
HSLhsl(204, 49%, 45%)
HSVhsv(204, 66%, 67%)
CMYKcmyk(66.1%, 26.3%, 0%, 32.9%)
CIE-LABlab(50.41, -7.00, -30.25)
CIE-LCHlch(50.41, 31.05, 256.96°)
OKLaboklab(56.91% -0.0481 -0.0851)
OKLCHoklch(56.91% 0.098 240.5)
XYZxyz(16.5537, 18.7598, 41.2688)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7EAB #AB673A
analogous
#3AABA0 #3A7EAB #3A45AB
triadic
#3A7EAB #AB3A7E #7EAB3A
tetradic
#3A7EAB #A03AAB #AB673A #45AB3A
square
#3A7EAB #A03AAB #AB673A #45AB3A
split-complementary
#3A7EAB #AB3A45 #ABA03A
monochromatic
#1B3B50 #2A5C7D #3A7EAB #5B9CC7 #89B8D7

Accessibility & contrast

On white

4.42
#3A7EAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#3A7EAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7EAB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7EAB#FFFFFF#000000##000000
##3A7EAB1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#697EAD
Deuteranopia (green-blind)
#5A73AA
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3a7eab;
/* rgb */ color: rgb(58, 126, 171);
/* oklch */ color: oklch(56.9% 0.098 240.5);
Tailwind
colors: {
  custom: {
    50: '#7ca3c4',
    500: '#3a7eab',
    950: '#000000',
  },
}
SCSS
$custom: #3a7eab;
$custom-light: #7ca3c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7eab",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 171
  },
  "hsl": {
    "h": 203.894,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5691,
    "c": 0.09776,
    "h": 240.5
  },
  "luminance": 0.18762
}

Semantic roles & 50–950 ramp

primary
#3A7EAB
secondary
#C19A80
accent
#864FD9
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #3A7EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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