#3A7CCC#3A7CCC

#3A7CCC is a mid, vivid cyan. Relative luminance 0.197; OKLCH L 58.3% C 0.140 H 254.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#3A7CCC
RGBrgb(58, 124, 204)
HSLhsl(213, 59%, 51%)
HSVhsv(213, 72%, 80%)
CMYKcmyk(71.6%, 39.2%, 0%, 20%)
CIE-LABlab(51.46, 5.84, -47.53)
CIE-LCHlch(51.46, 47.89, 277.01°)
OKLaboklab(58.28% -0.0367 -0.1355)
OKLCHoklch(58.28% 0.14 254.8)
XYZxyz(19.8476, 19.6723, 59.8662)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7CCC #CC8A3A
analogous
#3AC5CC #3A7CCC #413ACC
triadic
#3A7CCC #CC3A7C #7CCC3A
tetradic
#3A7CCC #CC3AC5 #CC8A3A #3ACC41
square
#3A7CCC #CC3AC5 #CC8A3A #3ACC41
split-complementary
#3A7CCC #CC413A #C5CC3A
monochromatic
#1D426F #295FA0 #3A7CCC #6B9CD9 #9BBDE5

Accessibility & contrast

On white

4.26
#3A7CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#3A7CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7CCC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7CCC#FFFFFF#000000##000000
##3A7CCC1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5782CF
Deuteranopia (green-blind)
#4074CA
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3a7ccc;
/* rgb */ color: rgb(58, 124, 204);
/* oklch */ color: oklch(58.3% 0.140 254.8);
Tailwind
colors: {
  custom: {
    50: '#82a1dc',
    500: '#3a7ccc',
    950: '#000000',
  },
}
SCSS
$custom: #3a7ccc;
$custom-light: #82a1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7ccc",
  "rgb": {
    "r": 58,
    "g": 124,
    "b": 204
  },
  "hsl": {
    "h": 212.877,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58282,
    "c": 0.1404,
    "h": 254.8
  },
  "luminance": 0.19674
}

Semantic roles & 50–950 ramp

primary
#3A7CCC
secondary
#D1B491
accent
#9B46E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A7CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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