#3F7ACC#3F7ACC

#3F7ACC is a mid, vivid cyan. Relative luminance 0.193; OKLCH L 58.0% C 0.141 H 257.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#3F7ACC
RGBrgb(63, 122, 204)
HSLhsl(215, 58%, 52%)
HSVhsv(215, 69%, 80%)
CMYKcmyk(69.1%, 40.2%, 0%, 20%)
CIE-LABlab(51.08, 7.81, -48.14)
CIE-LCHlch(51.08, 48.77, 279.21°)
OKLaboklab(58.03% -0.0314 -0.1373)
OKLCHoklch(58.03% 0.141 257.1)
XYZxyz(19.9046, 19.3334, 59.7978)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7ACC #CC913F
analogous
#3FC0CC #3F7ACC #4B3FCC
triadic
#3F7ACC #CC3F7A #7ACC3F
tetradic
#3F7ACC #CC3FC0 #CC913F #3FCC4B
square
#3F7ACC #CC3FC0 #CC913F #3FCC4B
split-complementary
#3F7ACC #CC4B3F #C0CC3F
monochromatic
#1E4172 #2B5DA3 #3F7ACC #6F9BD9 #A0BDE6

Accessibility & contrast

On white

4.31
#3F7ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#3F7ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F7ACC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7ACC#FFFFFF#000000##000000
##3F7ACC1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481CF
Deuteranopia (green-blind)
#3E74CA
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3f7acc;
/* rgb */ color: rgb(63, 122, 204);
/* oklch */ color: oklch(58.0% 0.141 257.1);
Tailwind
colors: {
  custom: {
    50: '#849fdc',
    500: '#3f7acc',
    950: '#000000',
  },
}
SCSS
$custom: #3f7acc;
$custom-light: #849fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7acc",
  "rgb": {
    "r": 63,
    "g": 122,
    "b": 204
  },
  "hsl": {
    "h": 214.894,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58029,
    "c": 0.14079,
    "h": 257.1
  },
  "luminance": 0.19335
}

Semantic roles & 50–950 ramp

primary
#3F7ACC
secondary
#D2B895
accent
#A147E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3F7ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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