#3A7AC8#3A7AC8

#3A7AC8 is a mid, vivid cyan. Relative luminance 0.190; OKLCH L 57.6% C 0.137 H 254.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#3A7AC8
RGBrgb(58, 122, 200)
HSLhsl(213, 56%, 51%)
HSVhsv(213, 71%, 78%)
CMYKcmyk(71%, 39%, 0%, 21.6%)
CIE-LABlab(50.67, 5.62, -46.51)
CIE-LCHlch(50.67, 46.85, 276.89°)
OKLaboklab(57.59% -0.0358 -0.1326)
OKLCHoklch(57.59% 0.137 254.9)
XYZxyz(19.1259, 18.9867, 57.2892)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7AC8 #C8883A
analogous
#3AC1C8 #3A7AC8 #413AC8
triadic
#3A7AC8 #C83A7A #7AC83A
tetradic
#3A7AC8 #C83AC1 #C8883A #3AC841
square
#3A7AC8 #C83AC1 #C8883A #3AC841
split-complementary
#3A7AC8 #C8413A #C1C83A
monochromatic
#1E406A #2B5D9A #3A7AC8 #6A9AD5 #9ABBE3

Accessibility & contrast

On white

4.38
#3A7AC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#3A7AC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7AC8
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7AC8#FFFFFF#000000##000000
##3A7AC81.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5680CB
Deuteranopia (green-blind)
#4073C6
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3a7ac8;
/* rgb */ color: rgb(58, 122, 200);
/* oklch */ color: oklch(57.6% 0.137 254.9);
Tailwind
colors: {
  custom: {
    50: '#81a0d9',
    500: '#3a7ac8',
    950: '#000000',
  },
}
SCSS
$custom: #3a7ac8;
$custom-light: #81a0d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7ac8",
  "rgb": {
    "r": 58,
    "g": 122,
    "b": 200
  },
  "hsl": {
    "h": 212.958,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57593,
    "c": 0.13731,
    "h": 254.9
  },
  "luminance": 0.18989
}

Semantic roles & 50–950 ramp

primary
#3A7AC8
secondary
#CEB28F
accent
#9B48E0
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #3A7AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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