#3A7EAC#3A7EAC

#3A7EAC is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 57.0% C 0.099 H 241.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#3A7EAC
RGBrgb(58, 126, 172)
HSLhsl(204, 50%, 45%)
HSVhsv(204, 66%, 67%)
CMYKcmyk(66.3%, 26.7%, 0%, 32.5%)
CIE-LABlab(50.45, -6.66, -30.76)
CIE-LCHlch(50.45, 31.47, 257.78°)
OKLaboklab(56.96% -0.0478 -0.0866)
OKLCHoklch(56.96% 0.099 241.1)
XYZxyz(16.6493, 18.7981, 41.7727)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7EAC #AC683A
analogous
#3AACA1 #3A7EAC #3A45AC
triadic
#3A7EAC #AC3A7E #7EAC3A
tetradic
#3A7EAC #A13AAC #AC683A #45AC3A
square
#3A7EAC #A13AAC #AC683A #45AC3A
split-complementary
#3A7EAC #AC3A45 #ACA13A
monochromatic
#1B3B50 #2B5C7E #3A7EAC #5B9CC8 #89B8D7

Accessibility & contrast

On white

4.41
#3A7EAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#3A7EAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7EAC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7EAC#FFFFFF#000000##000000
##3A7EAC1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#697EAE
Deuteranopia (green-blind)
#5973AB
Tritanopia (blue-blind)
#00898E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3a7eac;
/* rgb */ color: rgb(58, 126, 172);
/* oklch */ color: oklch(57.0% 0.099 241.1);
Tailwind
colors: {
  custom: {
    50: '#7ca3c5',
    500: '#3a7eac',
    950: '#000000',
  },
}
SCSS
$custom: #3a7eac;
$custom-light: #7ca3c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7eac",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 172
  },
  "hsl": {
    "h": 204.211,
    "s": 49.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56961,
    "c": 0.09888,
    "h": 241.1
  },
  "luminance": 0.188
}

Semantic roles & 50–950 ramp

primary
#3A7EAC
secondary
#C29B80
accent
#874FD9
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #3A7EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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