#3A7CC7#3A7CC7

#3A7CC7 is a mid, vivid cyan. Relative luminance 0.194; OKLCH L 58.0% C 0.134 H 253.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#3A7CC7
RGBrgb(58, 124, 199)
HSLhsl(212, 56%, 50%)
HSVhsv(212, 71%, 78%)
CMYKcmyk(70.9%, 37.7%, 0%, 22%)
CIE-LABlab(51.19, 4.04, -45.11)
CIE-LCHlch(51.19, 45.29, 275.12°)
OKLaboklab(57.98% -0.0379 -0.1284)
OKLCHoklch(57.98% 0.134 253.5)
XYZxyz(19.2576, 19.4363, 56.7584)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7CC7 #C7853A
analogous
#3AC2C7 #3A7CC7 #3E3AC7
triadic
#3A7CC7 #C73A7C #7CC73A
tetradic
#3A7CC7 #C73AC2 #C7853A #3AC73E
square
#3A7CC7 #C73AC2 #C7853A #3AC73E
split-complementary
#3A7CC7 #C73E3A #C2C73A
monochromatic
#1E4169 #2B5E98 #3A7CC7 #6A9CD5 #99BBE2

Accessibility & contrast

On white

4.30
#3A7CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#3A7CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7CC7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7CC7#FFFFFF#000000##000000
##3A7CC71.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A81CA
Deuteranopia (green-blind)
#4574C5
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a7cc7;
/* rgb */ color: rgb(58, 124, 199);
/* oklch */ color: oklch(58.0% 0.134 253.5);
Tailwind
colors: {
  custom: {
    50: '#81a1d8',
    500: '#3a7cc7',
    950: '#000000',
  },
}
SCSS
$custom: #3a7cc7;
$custom-light: #81a1d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7cc7",
  "rgb": {
    "r": 58,
    "g": 124,
    "b": 199
  },
  "hsl": {
    "h": 211.915,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57982,
    "c": 0.1339,
    "h": 253.5
  },
  "luminance": 0.19438
}

Semantic roles & 50–950 ramp

primary
#3A7CC7
secondary
#CEB08F
accent
#9949DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #3A7CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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