#3A7DCD#3A7DCD

#3A7DCD is a mid, vivid cyan. Relative luminance 0.200; OKLCH L 58.6% C 0.141 H 254.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#3A7DCD
RGBrgb(58, 125, 205)
HSLhsl(213, 60%, 52%)
HSVhsv(213, 72%, 80%)
CMYKcmyk(71.7%, 39%, 0%, 19.6%)
CIE-LABlab(51.81, 5.59, -47.55)
CIE-LCHlch(51.81, 47.88, 276.71°)
OKLaboklab(58.57% -0.0374 -0.1356)
OKLCHoklch(58.57% 0.141 254.6)
XYZxyz(20.0939, 19.9724, 60.5418)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7DCD #CD8A3A
analogous
#3AC7CD #3A7DCD #413ACD
triadic
#3A7DCD #CD3A7D #7DCD3A
tetradic
#3A7DCD #CD3AC7 #CD8A3A #3ACD41
square
#3A7DCD #CD3AC7 #CD8A3A #3ACD41
split-complementary
#3A7DCD #CD413A #C7CD3A
monochromatic
#1C4370 #2960A1 #3A7DCD #6B9DD9 #9CBDE6

Accessibility & contrast

On white

4.20
#3A7DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#3A7DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7DCD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7DCD#FFFFFF#000000##000000
##3A7DCD1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5883D0
Deuteranopia (green-blind)
#4175CB
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3a7dcd;
/* rgb */ color: rgb(58, 125, 205);
/* oklch */ color: oklch(58.6% 0.141 254.6);
Tailwind
colors: {
  custom: {
    50: '#82a2dd',
    500: '#3a7dcd',
    950: '#000000',
  },
}
SCSS
$custom: #3a7dcd;
$custom-light: #82a2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7dcd",
  "rgb": {
    "r": 58,
    "g": 125,
    "b": 205
  },
  "hsl": {
    "h": 212.653,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58566,
    "c": 0.14064,
    "h": 254.6
  },
  "luminance": 0.19975
}

Semantic roles & 50–950 ramp

primary
#3A7DCD
secondary
#D2B491
accent
#9B45E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #3A7DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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