#3A7FAC#3A7FAC

#3A7FAC is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.2% C 0.098 H 240.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#3A7FAC
RGBrgb(58, 127, 172)
HSLhsl(204, 50%, 45%)
HSVhsv(204, 66%, 67%)
CMYKcmyk(66.3%, 26.2%, 0%, 32.5%)
CIE-LABlab(50.75, -7.24, -30.29)
CIE-LCHlch(50.75, 31.14, 256.55°)
OKLaboklab(57.2% -0.0488 -0.0852)
OKLCHoklch(57.2% 0.098 240.2)
XYZxyz(16.7778, 19.0551, 41.8155)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7FAC #AC673A
analogous
#3AACA0 #3A7FAC #3A46AC
triadic
#3A7FAC #AC3A7F #7FAC3A
tetradic
#3A7FAC #A03AAC #AC673A #46AC3A
square
#3A7FAC #A03AAC #AC673A #46AC3A
split-complementary
#3A7FAC #AC3A46 #ACA03A
monochromatic
#1B3B50 #2B5D7E #3A7FAC #5B9DC8 #89B8D7

Accessibility & contrast

On white

4.36
#3A7FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#3A7FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7FAC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7FAC#FFFFFF#000000##000000
##3A7FAC1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7FAE
Deuteranopia (green-blind)
#5B74AB
Tritanopia (blue-blind)
#008A8E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3a7fac;
/* rgb */ color: rgb(58, 127, 172);
/* oklch */ color: oklch(57.2% 0.098 240.2);
Tailwind
colors: {
  custom: {
    50: '#7ca4c5',
    500: '#3a7fac',
    950: '#000000',
  },
}
SCSS
$custom: #3a7fac;
$custom-light: #7ca4c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7fac",
  "rgb": {
    "r": 58,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 203.684,
    "s": 49.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.57199,
    "c": 0.09821,
    "h": 240.2
  },
  "luminance": 0.19057
}

Semantic roles & 50–950 ramp

primary
#3A7FAC
secondary
#C29A80
accent
#854FD9
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0B0F12
muted
#7C7F81

Preview Lab

Preview with #3A7FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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