#3A7FCC#3A7FCC

#3A7FCC is a mid, vivid cyan. Relative luminance 0.204; OKLCH L 59.0% C 0.137 H 253.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#3A7FCC
RGBrgb(58, 127, 204)
HSLhsl(212, 59%, 51%)
HSVhsv(212, 72%, 80%)
CMYKcmyk(71.6%, 37.7%, 0%, 20%)
CIE-LABlab(52.33, 4.02, -46.16)
CIE-LCHlch(52.33, 46.33, 274.97°)
OKLaboklab(58.95% -0.0395 -0.1314)
OKLCHoklch(58.95% 0.137 253.3)
XYZxyz(20.2293, 20.4357, 59.9934)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7FCC #CC873A
analogous
#3AC8CC #3A7FCC #3E3ACC
triadic
#3A7FCC #CC3A7F #7FCC3A
tetradic
#3A7FCC #CC3AC8 #CC873A #3ACC3E
square
#3A7FCC #CC3AC8 #CC873A #3ACC3E
split-complementary
#3A7FCC #CC3E3A #C8CC3A
monochromatic
#1D446F #2961A0 #3A7FCC #6B9FD9 #9BBEE5

Accessibility & contrast

On white

4.13
#3A7FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#3A7FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7FCC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7FCC#FFFFFF#000000##000000
##3A7FCC1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C84CF
Deuteranopia (green-blind)
#4677CA
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #3a7fcc;
/* rgb */ color: rgb(58, 127, 204);
/* oklch */ color: oklch(59.0% 0.137 253.3);
Tailwind
colors: {
  custom: {
    50: '#82a3dc',
    500: '#3a7fcc',
    950: '#000000',
  },
}
SCSS
$custom: #3a7fcc;
$custom-light: #82a3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7fcc",
  "rgb": {
    "r": 58,
    "g": 127,
    "b": 204
  },
  "hsl": {
    "h": 211.644,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58954,
    "c": 0.13726,
    "h": 253.3
  },
  "luminance": 0.20438
}

Semantic roles & 50–950 ramp

primary
#3A7FCC
secondary
#D1B391
accent
#9846E2
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3A7FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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