#3A7CC8#3A7CC8

#3A7CC8 is a mid, vivid cyan. Relative luminance 0.195; OKLCH L 58.0% C 0.135 H 253.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#3A7CC8
RGBrgb(58, 124, 200)
HSLhsl(212, 56%, 51%)
HSVhsv(212, 71%, 78%)
CMYKcmyk(71%, 38%, 0%, 21.6%)
CIE-LABlab(51.25, 4.40, -45.59)
CIE-LCHlch(51.25, 45.81, 275.51°)
OKLaboklab(58.04% -0.0377 -0.1298)
OKLCHoklch(58.04% 0.135 253.8)
XYZxyz(19.3740, 19.4829, 57.3719)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7CC8 #C8863A
analogous
#3AC3C8 #3A7CC8 #3F3AC8
triadic
#3A7CC8 #C83A7C #7CC83A
tetradic
#3A7CC8 #C83AC3 #C8863A #3AC83F
square
#3A7CC8 #C83AC3 #C8863A #3AC83F
split-complementary
#3A7CC8 #C83F3A #C3C83A
monochromatic
#1E416A #2B5E9A #3A7CC8 #6A9CD5 #9ABCE3

Accessibility & contrast

On white

4.29
#3A7CC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#3A7CC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7CC8
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7CC8#FFFFFF#000000##000000
##3A7CC81.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5981CB
Deuteranopia (green-blind)
#4474C6
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a7cc8;
/* rgb */ color: rgb(58, 124, 200);
/* oklch */ color: oklch(58.0% 0.135 253.8);
Tailwind
colors: {
  custom: {
    50: '#81a1d9',
    500: '#3a7cc8',
    950: '#000000',
  },
}
SCSS
$custom: #3a7cc8;
$custom-light: #81a1d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7cc8",
  "rgb": {
    "r": 58,
    "g": 124,
    "b": 200
  },
  "hsl": {
    "h": 212.113,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58042,
    "c": 0.1352,
    "h": 253.8
  },
  "luminance": 0.19485
}

Semantic roles & 50–950 ramp

primary
#3A7CC8
secondary
#CEB18F
accent
#9948E0
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #3A7CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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