#3F7EC4#3F7EC4

#3F7EC4 is a mid, vivid cyan. Relative luminance 0.200; OKLCH L 58.5% C 0.126 H 252.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#3F7EC4
RGBrgb(63, 126, 196)
HSLhsl(212, 53%, 51%)
HSVhsv(212, 68%, 77%)
CMYKcmyk(67.9%, 35.7%, 0%, 23.1%)
CIE-LABlab(51.79, 2.53, -42.43)
CIE-LCHlch(51.79, 42.51, 273.42°)
OKLaboklab(58.45% -0.0371 -0.1205)
OKLCHoklch(58.45% 0.126 252.9)
XYZxyz(19.4709, 19.9620, 55.0408)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7EC4 #C4853F
analogous
#3FC0C4 #3F7EC4 #423FC4
triadic
#3F7EC4 #C43F7E #7EC43F
tetradic
#3F7EC4 #C43FC0 #C4853F #3FC442
square
#3F7EC4 #C43FC0 #C4853F #3FC442
split-complementary
#3F7EC4 #C4423F #C0C43F
monochromatic
#204268 #2E6097 #3F7EC4 #6E9DD2 #9DBDE1

Accessibility & contrast

On white

4.21
#3F7EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#3F7EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F7EC4
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7EC4#FFFFFF#000000##000000
##3F7EC41.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F82C7
Deuteranopia (green-blind)
#4C76C3
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3f7ec4;
/* rgb */ color: rgb(63, 126, 196);
/* oklch */ color: oklch(58.5% 0.126 252.9);
Tailwind
colors: {
  custom: {
    50: '#82a3d6',
    500: '#3f7ec4',
    950: '#000000',
  },
}
SCSS
$custom: #3f7ec4;
$custom-light: #82a3d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7ec4",
  "rgb": {
    "r": 63,
    "g": 126,
    "b": 196
  },
  "hsl": {
    "h": 211.579,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5845,
    "c": 0.1261,
    "h": 252.9
  },
  "luminance": 0.19964
}

Semantic roles & 50–950 ramp

primary
#3F7EC4
secondary
#CDB192
accent
#984BDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #3F7EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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