#3A7EC1#3A7EC1

#3A7EC1 is a mid, vivid cyan. Relative luminance 0.197; OKLCH L 58.1% C 0.124 H 250.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#3A7EC1
RGBrgb(58, 126, 193)
HSLhsl(210, 54%, 49%)
HSVhsv(210, 70%, 76%)
CMYKcmyk(69.9%, 34.7%, 0%, 24.3%)
CIE-LABlab(51.46, 0.69, -41.26)
CIE-LCHlch(51.46, 41.26, 270.95°)
OKLaboklab(58.09% -0.0414 -0.1171)
OKLCHoklch(58.09% 0.124 250.5)
XYZxyz(18.8278, 19.6695, 53.2461)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7EC1 #C17D3A
analogous
#3AC1C1 #3A7EC1 #3A3AC1
triadic
#3A7EC1 #C13A7E #7EC13A
tetradic
#3A7EC1 #C13AC1 #C17D3A #3AC13A
square
#3A7EC1 #C13AC1 #C17D3A #3AC13A
split-complementary
#3A7EC1 #C13A3A #C1C13A
monochromatic
#1E4163 #2C5F92 #3A7EC1 #679CD1 #96BBDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A7EC1#FFFFFF#000000##000000
##3A7EC11.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)
#6082C4
Deuteranopia (green-blind)
#4D75C0
Tritanopia (blue-blind)
#008E96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3a7ec1;
/* rgb */ color: rgb(58, 126, 193);
/* oklch */ color: oklch(58.1% 0.124 250.5);
Tailwind
colors: {
  custom: {
    50: '#80a3d4',
    500: '#3a7ec1',
    950: '#000000',
  },
}
SCSS
$custom: #3a7ec1;
$custom-light: #80a3d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7ec1",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 193
  },
  "hsl": {
    "h": 209.778,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58089,
    "c": 0.12422,
    "h": 250.5
  },
  "luminance": 0.19672
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A7EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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