#3A7DCC#3A7DCC

#3A7DCC is a mid, vivid cyan. Relative luminance 0.199; OKLCH L 58.5% C 0.139 H 254.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#3A7DCC
RGBrgb(58, 125, 204)
HSLhsl(212, 59%, 51%)
HSVhsv(212, 72%, 80%)
CMYKcmyk(71.6%, 38.7%, 0%, 20%)
CIE-LABlab(51.75, 5.23, -47.07)
CIE-LCHlch(51.75, 47.36, 276.34°)
OKLaboklab(58.51% -0.0377 -0.1342)
OKLCHoklch(58.51% 0.139 254.3)
XYZxyz(19.9736, 19.9242, 59.9081)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7DCC #CC893A
analogous
#3AC6CC #3A7DCC #403ACC
triadic
#3A7DCC #CC3A7D #7DCC3A
tetradic
#3A7DCC #CC3AC6 #CC893A #3ACC40
square
#3A7DCC #CC3AC6 #CC893A #3ACC40
split-complementary
#3A7DCC #CC403A #C6CC3A
monochromatic
#1D426F #2960A0 #3A7DCC #6B9DD9 #9BBDE5

Accessibility & contrast

On white

4.21
#3A7DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#3A7DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7DCC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7DCC#FFFFFF#000000##000000
##3A7DCC1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5883CF
Deuteranopia (green-blind)
#4275CA
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3a7dcc;
/* rgb */ color: rgb(58, 125, 204);
/* oklch */ color: oklch(58.5% 0.139 254.3);
Tailwind
colors: {
  custom: {
    50: '#82a2dc',
    500: '#3a7dcc',
    950: '#000000',
  },
}
SCSS
$custom: #3a7dcc;
$custom-light: #82a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7dcc",
  "rgb": {
    "r": 58,
    "g": 125,
    "b": 204
  },
  "hsl": {
    "h": 212.466,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58505,
    "c": 0.13934,
    "h": 254.3
  },
  "luminance": 0.19926
}

Semantic roles & 50–950 ramp

primary
#3A7DCC
secondary
#D1B491
accent
#9A46E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #3A7DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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