#3A7ECB#3A7ECB

#3A7ECB is a mid, vivid cyan. Relative luminance 0.201; OKLCH L 58.7% C 0.137 H 253.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#3A7ECB
RGBrgb(58, 126, 203)
HSLhsl(212, 58%, 51%)
HSVhsv(212, 71%, 80%)
CMYKcmyk(71.4%, 37.9%, 0%, 20.4%)
CIE-LABlab(51.98, 4.26, -46.13)
CIE-LCHlch(51.98, 46.33, 275.28°)
OKLaboklab(58.67% -0.0388 -0.1314)
OKLCHoklch(58.67% 0.137 253.5)
XYZxyz(19.9813, 20.1309, 59.3209)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7ECB #CB873A
analogous
#3AC6CB #3A7ECB #3E3ACB
triadic
#3A7ECB #CB3A7E #7ECB3A
tetradic
#3A7ECB #CB3AC6 #CB873A #3ACB3E
square
#3A7ECB #CB3AC6 #CB873A #3ACB3E
split-complementary
#3A7ECB #CB3E3A #C6CB3A
monochromatic
#1D436E #2A609E #3A7ECB #6A9ED8 #9BBDE5

Accessibility & contrast

On white

4.18
#3A7ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#3A7ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7ECB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7ECB#FFFFFF#000000##000000
##3A7ECB1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B83CE
Deuteranopia (green-blind)
#4576C9
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3a7ecb;
/* rgb */ color: rgb(58, 126, 203);
/* oklch */ color: oklch(58.7% 0.137 253.5);
Tailwind
colors: {
  custom: {
    50: '#81a2db',
    500: '#3a7ecb',
    950: '#000000',
  },
}
SCSS
$custom: #3a7ecb;
$custom-light: #81a2db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7ecb",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 211.862,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5867,
    "c": 0.137,
    "h": 253.5
  },
  "luminance": 0.20133
}

Semantic roles & 50–950 ramp

primary
#3A7ECB
secondary
#D0B290
accent
#9946E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #3A7ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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