#3A7EAA#3A7EAA

#3A7EAA is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.9% C 0.097 H 239.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#3A7EAA
RGBrgb(58, 126, 170)
HSLhsl(204, 49%, 45%)
HSVhsv(204, 66%, 67%)
CMYKcmyk(65.9%, 25.9%, 0%, 33.3%)
CIE-LABlab(50.36, -7.34, -29.74)
CIE-LCHlch(50.36, 30.63, 256.13°)
OKLaboklab(56.86% -0.0484 -0.0836)
OKLCHoklch(56.86% 0.097 239.9)
XYZxyz(16.4587, 18.7218, 40.7687)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7EAA #AA663A
analogous
#3AAA9E #3A7EAA #3A46AA
triadic
#3A7EAA #AA3A7E #7EAA3A
tetradic
#3A7EAA #9E3AAA #AA663A #46AA3A
square
#3A7EAA #9E3AAA #AA663A #46AA3A
split-complementary
#3A7EAA #AA3A46 #AA9E3A
monochromatic
#1B3A4F #2A5C7C #3A7EAA #5A9CC7 #88B8D6

Accessibility & contrast

On white

4.43
#3A7EAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#3A7EAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7EAA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7EAA#FFFFFF#000000##000000
##3A7EAA1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7EAC
Deuteranopia (green-blind)
#5B73A9
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3a7eaa;
/* rgb */ color: rgb(58, 126, 170);
/* oklch */ color: oklch(56.9% 0.097 239.9);
Tailwind
colors: {
  custom: {
    50: '#7ca3c3',
    500: '#3a7eaa',
    950: '#000000',
  },
}
SCSS
$custom: #3a7eaa;
$custom-light: #7ca3c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7eaa",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 170
  },
  "hsl": {
    "h": 203.571,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5686,
    "c": 0.09665,
    "h": 239.9
  },
  "luminance": 0.18724
}

Semantic roles & 50–950 ramp

primary
#3A7EAA
secondary
#C1997F
accent
#854FD9
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #3A7EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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