#3A7BC7#3A7BC7

#3A7BC7 is a mid, vivid cyan. Relative luminance 0.192; OKLCH L 57.8% C 0.135 H 254.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3A7BC7
RGBrgb(58, 123, 199)
HSLhsl(212, 56%, 50%)
HSVhsv(212, 71%, 78%)
CMYKcmyk(70.9%, 38.2%, 0%, 22%)
CIE-LABlab(50.91, 4.65, -45.57)
CIE-LCHlch(50.91, 45.80, 275.83°)
OKLaboklab(57.76% -0.037 -0.1298)
OKLCHoklch(57.76% 0.135 254.1)
XYZxyz(19.1329, 19.1869, 56.7169)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7BC7 #C7863A
analogous
#3AC2C7 #3A7BC7 #3F3AC7
triadic
#3A7BC7 #C73A7B #7BC73A
tetradic
#3A7BC7 #C73AC2 #C7863A #3AC73F
square
#3A7BC7 #C73AC2 #C7863A #3AC73F
split-complementary
#3A7BC7 #C73F3A #C2C73A
monochromatic
#1E4069 #2B5E98 #3A7BC7 #6A9BD5 #99BBE2

Accessibility & contrast

On white

4.34
#3A7BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#3A7BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7BC7
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7BC7#FFFFFF#000000##000000
##3A7BC71.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5880CA
Deuteranopia (green-blind)
#4373C5
Tritanopia (blue-blind)
#008D97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3a7bc7;
/* rgb */ color: rgb(58, 123, 199);
/* oklch */ color: oklch(57.8% 0.135 254.1);
Tailwind
colors: {
  custom: {
    50: '#81a0d8',
    500: '#3a7bc7',
    950: '#000000',
  },
}
SCSS
$custom: #3a7bc7;
$custom-light: #81a0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7bc7",
  "rgb": {
    "r": 58,
    "g": 123,
    "b": 199
  },
  "hsl": {
    "h": 212.34,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57757,
    "c": 0.13494,
    "h": 254.1
  },
  "luminance": 0.19189
}

Semantic roles & 50–950 ramp

primary
#3A7BC7
secondary
#CEB18F
accent
#9A49DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #3A7BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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