#3A7FD9#3A7FD9

#3A7FD9 is a mid, vivid cyan. Relative luminance 0.211; OKLCH L 59.7% C 0.154 H 256.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#3A7FD9
RGBrgb(58, 127, 217)
HSLhsl(214, 68%, 54%)
HSVhsv(214, 73%, 85%)
CMYKcmyk(73.3%, 41.5%, 0%, 14.9%)
CIE-LABlab(53.04, 8.72, -52.37)
CIE-LCHlch(53.04, 53.09, 279.45°)
OKLaboklab(59.75% -0.0366 -0.1497)
OKLCHoklch(59.75% 0.154 256.3)
XYZxyz(21.8541, 21.0856, 68.5503)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7FD9 #D9943A
analogous
#3ACFD9 #3A7FD9 #453AD9
triadic
#3A7FD9 #D93A7F #7FD93A
tetradic
#3A7FD9 #D93ACF #D9943A #3AD945
square
#3A7FD9 #D93ACF #D9943A #3AD945
split-complementary
#3A7FD9 #D9453A #CFD93A
monochromatic
#194580 #2361B3 #3A7FD9 #6DA0E3 #A1C2ED

Accessibility & contrast

On white

4.02
#3A7FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#3A7FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7FD9
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7FD9#FFFFFF#000000##000000
##3A7FD91.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5487DD
Deuteranopia (green-blind)
#3878D7
Tritanopia (blue-blind)
#0094A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3a7fd9;
/* rgb */ color: rgb(58, 127, 217);
/* oklch */ color: oklch(59.7% 0.154 256.3);
Tailwind
colors: {
  custom: {
    50: '#84a3e5',
    500: '#3a7fd9',
    950: '#000000',
  },
}
SCSS
$custom: #3a7fd9;
$custom-light: #84a3e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7fd9",
  "rgb": {
    "r": 58,
    "g": 127,
    "b": 217
  },
  "hsl": {
    "h": 213.962,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59745,
    "c": 0.15409,
    "h": 256.3
  },
  "luminance": 0.21088
}

Semantic roles & 50–950 ramp

primary
#3A7FD9
secondary
#D9BC95
accent
#9F3DEB
background
#F8FAFE
surface
#F0F3FC
border
#CBCDD5
text
#0C0F16
muted
#7D7F84

Preview Lab

Preview with #3A7FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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