#3A7DC9#3A7DC9

#3A7DC9 is a mid, vivid cyan. Relative luminance 0.198; OKLCH L 58.3% C 0.135 H 253.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#3A7DC9
RGBrgb(58, 125, 201)
HSLhsl(212, 57%, 51%)
HSVhsv(212, 71%, 79%)
CMYKcmyk(71.1%, 37.8%, 0%, 21.2%)
CIE-LABlab(51.59, 4.15, -45.62)
CIE-LCHlch(51.59, 45.81, 275.20°)
OKLaboklab(58.33% -0.0384 -0.1299)
OKLCHoklch(58.33% 0.135 253.5)
XYZxyz(19.6173, 19.7817, 58.0314)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7DC9 #C9863A
analogous
#3AC4C9 #3A7DC9 #3E3AC9
triadic
#3A7DC9 #C93A7D #7DC93A
tetradic
#3A7DC9 #C93AC4 #C9863A #3AC93E
square
#3A7DC9 #C93AC4 #C9863A #3AC93E
split-complementary
#3A7DC9 #C93E3A #C4C93A
monochromatic
#1D426B #2B5F9B #3A7DC9 #6A9DD6 #9ABCE3

Accessibility & contrast

On white

4.24
#3A7DC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#3A7DC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7DC9
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7DC9#FFFFFF#000000##000000
##3A7DC91.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A82CC
Deuteranopia (green-blind)
#4575C7
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3a7dc9;
/* rgb */ color: rgb(58, 125, 201);
/* oklch */ color: oklch(58.3% 0.135 253.5);
Tailwind
colors: {
  custom: {
    50: '#81a2da',
    500: '#3a7dc9',
    950: '#000000',
  },
}
SCSS
$custom: #3a7dc9;
$custom-light: #81a2da;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7dc9",
  "rgb": {
    "r": 58,
    "g": 125,
    "b": 201
  },
  "hsl": {
    "h": 211.888,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58326,
    "c": 0.13546,
    "h": 253.5
  },
  "luminance": 0.19784
}

Semantic roles & 50–950 ramp

primary
#3A7DC9
secondary
#CFB190
accent
#9948E0
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #3A7DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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