#3A7AC7#3A7AC7

#3A7AC7 is a mid, vivid cyan. Relative luminance 0.189; OKLCH L 57.5% C 0.136 H 254.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#3A7AC7
RGBrgb(58, 122, 199)
HSLhsl(213, 56%, 50%)
HSVhsv(213, 71%, 78%)
CMYKcmyk(70.9%, 38.7%, 0%, 22%)
CIE-LABlab(50.62, 5.26, -46.03)
CIE-LCHlch(50.62, 46.33, 276.52°)
OKLaboklab(57.53% -0.036 -0.1311)
OKLCHoklch(57.53% 0.136 254.6)
XYZxyz(19.0095, 18.9401, 56.6757)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7AC7 #C7873A
analogous
#3AC0C7 #3A7AC7 #403AC7
triadic
#3A7AC7 #C73A7A #7AC73A
tetradic
#3A7AC7 #C73AC0 #C7873A #3AC740
square
#3A7AC7 #C73AC0 #C7873A #3AC740
split-complementary
#3A7AC7 #C7403A #C0C73A
monochromatic
#1E4069 #2B5D98 #3A7AC7 #6A9AD5 #99BAE2

Accessibility & contrast

On white

4.39
#3A7AC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#3A7AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7AC7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7AC7#FFFFFF#000000##000000
##3A7AC71.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5780CA
Deuteranopia (green-blind)
#4172C5
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3a7ac7;
/* rgb */ color: rgb(58, 122, 199);
/* oklch */ color: oklch(57.5% 0.136 254.6);
Tailwind
colors: {
  custom: {
    50: '#81a0d8',
    500: '#3a7ac7',
    950: '#000000',
  },
}
SCSS
$custom: #3a7ac7;
$custom-light: #81a0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7ac7",
  "rgb": {
    "r": 58,
    "g": 122,
    "b": 199
  },
  "hsl": {
    "h": 212.766,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57532,
    "c": 0.136,
    "h": 254.6
  },
  "luminance": 0.18942
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A7AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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