#3A7AC6#3A7AC6

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

Color values

HEX#3A7AC6
RGBrgb(58, 122, 198)
HSLhsl(213, 55%, 50%)
HSVhsv(213, 71%, 78%)
CMYKcmyk(70.7%, 38.4%, 0%, 22.4%)
CIE-LABlab(50.56, 4.90, -45.54)
CIE-LCHlch(50.56, 45.80, 276.14°)
OKLaboklab(57.47% -0.0363 -0.1297)
OKLCHoklch(57.47% 0.135 254.4)
XYZxyz(18.8937, 18.8938, 56.0663)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7AC6 #C6863A
analogous
#3AC0C6 #3A7AC6 #403AC6
triadic
#3A7AC6 #C63A7A #7AC63A
tetradic
#3A7AC6 #C63AC0 #C6863A #3AC640
square
#3A7AC6 #C63AC0 #C6863A #3AC640
split-complementary
#3A7AC6 #C6403A #C0C63A
monochromatic
#1E4068 #2C5D97 #3A7AC6 #699AD4 #99BAE1

Accessibility & contrast

On white

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

On black

4.78
#3A7AC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7AC6
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7AC6#FFFFFF#000000##000000
##3A7AC61.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#577FC9
Deuteranopia (green-blind)
#4272C4
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3a7ac6;
/* rgb */ color: rgb(58, 122, 198);
/* oklch */ color: oklch(57.5% 0.135 254.4);
Tailwind
colors: {
  custom: {
    50: '#81a0d8',
    500: '#3a7ac6',
    950: '#000000',
  },
}
SCSS
$custom: #3a7ac6;
$custom-light: #81a0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7ac6",
  "rgb": {
    "r": 58,
    "g": 122,
    "b": 198
  },
  "hsl": {
    "h": 212.571,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57472,
    "c": 0.13469,
    "h": 254.4
  },
  "luminance": 0.18896
}

Semantic roles & 50–950 ramp

primary
#3A7AC6
secondary
#CDB18F
accent
#9A49DE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #3A7AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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