#3A7EC9#3A7EC9

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

Color values

HEX#3A7EC9
RGBrgb(58, 126, 201)
HSLhsl(211, 57%, 51%)
HSVhsv(211, 71%, 79%)
CMYKcmyk(71.1%, 37.3%, 0%, 21.2%)
CIE-LABlab(51.88, 3.55, -45.16)
CIE-LCHlch(51.88, 45.30, 274.49°)
OKLaboklab(58.55% -0.0393 -0.1285)
OKLCHoklch(58.55% 0.134 253)
XYZxyz(19.7445, 20.0361, 58.0738)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7EC9 #C9853A
analogous
#3AC5C9 #3A7EC9 #3E3AC9
triadic
#3A7EC9 #C93A7E #7EC93A
tetradic
#3A7EC9 #C93AC5 #C9853A #3AC93E
square
#3A7EC9 #C93AC5 #C9853A #3AC93E
split-complementary
#3A7EC9 #C93E3A #C5C93A
monochromatic
#1D426B #2B609B #3A7EC9 #6A9DD6 #9ABDE3

Accessibility & contrast

On white

4.19
#3A7EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#3A7EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7EC9
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7EC9#FFFFFF#000000##000000
##3A7EC91.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C83CC
Deuteranopia (green-blind)
#4676C8
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3a7ec9;
/* rgb */ color: rgb(58, 126, 201);
/* oklch */ color: oklch(58.6% 0.134 253.0);
Tailwind
colors: {
  custom: {
    50: '#81a2da',
    500: '#3a7ec9',
    950: '#000000',
  },
}
SCSS
$custom: #3a7ec9;
$custom-light: #81a2da;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7ec9",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 201
  },
  "hsl": {
    "h": 211.469,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58552,
    "c": 0.13443,
    "h": 253
  },
  "luminance": 0.20038
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A7EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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