#3A7EC0#3A7EC0

#3A7EC0 is a mid, vivid cyan. Relative luminance 0.196; OKLCH L 58.0% C 0.123 H 250.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#3A7EC0
RGBrgb(58, 126, 192)
HSLhsl(210, 54%, 49%)
HSVhsv(210, 70%, 75%)
CMYKcmyk(69.8%, 34.4%, 0%, 24.7%)
CIE-LABlab(51.41, 0.33, -40.76)
CIE-LCHlch(51.41, 40.77, 270.46°)
OKLaboklab(58.03% -0.0417 -0.1157)
OKLCHoklch(58.03% 0.123 250.2)
XYZxyz(18.7167, 19.6250, 52.6606)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7EC0 #C07C3A
analogous
#3AC0BF #3A7EC0 #3A3BC0
triadic
#3A7EC0 #C03A7E #7EC03A
tetradic
#3A7EC0 #BF3AC0 #C07C3A #3BC03A
square
#3A7EC0 #BF3AC0 #C07C3A #3BC03A
split-complementary
#3A7EC0 #C03A3B #C0BF3A
monochromatic
#1E4062 #2C5F91 #3A7EC0 #669CD1 #95BBDF

Accessibility & contrast

On white

4.26
#3A7EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#3A7EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7EC0
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7EC0#FFFFFF#000000##000000
##3A7EC01.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6081C3
Deuteranopia (green-blind)
#4D75BF
Tritanopia (blue-blind)
#008E96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a7ec0;
/* rgb */ color: rgb(58, 126, 192);
/* oklch */ color: oklch(58.0% 0.123 250.2);
Tailwind
colors: {
  custom: {
    50: '#80a3d3',
    500: '#3a7ec0',
    950: '#000000',
  },
}
SCSS
$custom: #3a7ec0;
$custom-light: #80a3d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7ec0",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 192
  },
  "hsl": {
    "h": 209.552,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58033,
    "c": 0.12297,
    "h": 250.2
  },
  "luminance": 0.19627
}

Semantic roles & 50–950 ramp

primary
#3A7EC0
secondary
#CAAA8B
accent
#934BDD
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #3A7EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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