#3F7EC6#3F7EC6

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

Color values

HEX#3F7EC6
RGBrgb(63, 126, 198)
HSLhsl(212, 54%, 51%)
HSVhsv(212, 68%, 78%)
CMYKcmyk(68.2%, 36.4%, 0%, 22.4%)
CIE-LABlab(51.90, 3.24, -43.41)
CIE-LCHlch(51.90, 43.53, 274.27°)
OKLaboklab(58.57% -0.0366 -0.1234)
OKLCHoklch(58.57% 0.129 253.5)
XYZxyz(19.7000, 20.0536, 56.2477)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7EC6 #C6873F
analogous
#3FC1C6 #3F7EC6 #433FC6
triadic
#3F7EC6 #C63F7E #7EC63F
tetradic
#3F7EC6 #C63FC1 #C6873F #3FC643
square
#3F7EC6 #C63FC1 #C6873F #3FC643
split-complementary
#3F7EC6 #C6433F #C1C63F
monochromatic
#20436B #2E609A #3F7EC6 #6E9ED4 #9DBDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F7EC6#FFFFFF#000000##000000
##3F7EC61.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)
#5E83C9
Deuteranopia (green-blind)
#4A76C5
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3f7ec6;
/* rgb */ color: rgb(63, 126, 198);
/* oklch */ color: oklch(58.6% 0.129 253.5);
Tailwind
colors: {
  custom: {
    50: '#83a3d7',
    500: '#3f7ec6',
    950: '#000000',
  },
}
SCSS
$custom: #3f7ec6;
$custom-light: #83a3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7ec6",
  "rgb": {
    "r": 63,
    "g": 126,
    "b": 198
  },
  "hsl": {
    "h": 212,
    "s": 54.217,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58565,
    "c": 0.12869,
    "h": 253.5
  },
  "luminance": 0.20056
}

Semantic roles & 50–950 ramp

primary
#3F7EC6
secondary
#CEB293
accent
#994ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #3F7EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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