#3A7DCA#3A7DCA

#3A7DCA is a mid, vivid cyan. Relative luminance 0.198; OKLCH L 58.4% C 0.137 H 253.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#3A7DCA
RGBrgb(58, 125, 202)
HSLhsl(212, 58%, 51%)
HSVhsv(212, 71%, 79%)
CMYKcmyk(71.3%, 38.1%, 0%, 20.8%)
CIE-LABlab(51.64, 4.51, -46.11)
CIE-LCHlch(51.64, 46.33, 275.59°)
OKLaboklab(58.39% -0.0381 -0.1313)
OKLCHoklch(58.39% 0.137 253.8)
XYZxyz(19.7353, 19.8289, 58.6529)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7DCA #CA873A
analogous
#3AC5CA #3A7DCA #3F3ACA
triadic
#3A7DCA #CA3A7D #7DCA3A
tetradic
#3A7DCA #CA3AC5 #CA873A #3ACA3F
square
#3A7DCA #CA3AC5 #CA873A #3ACA3F
split-complementary
#3A7DCA #CA3F3A #C5CA3A
monochromatic
#1D426C #2A5F9D #3A7DCA #6A9DD7 #9ABDE4

Accessibility & contrast

On white

4.23
#3A7DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#3A7DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7DCA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7DCA#FFFFFF#000000##000000
##3A7DCA1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A82CD
Deuteranopia (green-blind)
#4475C8
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3a7dca;
/* rgb */ color: rgb(58, 125, 202);
/* oklch */ color: oklch(58.4% 0.137 253.8);
Tailwind
colors: {
  custom: {
    50: '#81a2da',
    500: '#3a7dca',
    950: '#000000',
  },
}
SCSS
$custom: #3a7dca;
$custom-light: #81a2da;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7dca",
  "rgb": {
    "r": 58,
    "g": 125,
    "b": 202
  },
  "hsl": {
    "h": 212.083,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58386,
    "c": 0.13675,
    "h": 253.8
  },
  "luminance": 0.19831
}

Semantic roles & 50–950 ramp

primary
#3A7DCA
secondary
#D0B290
accent
#9947E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #3A7DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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