#3F7CE1#3F7CE1

#3F7CE1 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.8% C 0.166 H 259.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#3F7CE1
RGBrgb(63, 124, 225)
HSLhsl(217, 73%, 56%)
HSVhsv(217, 72%, 88%)
CMYKcmyk(72%, 44.9%, 0%, 11.8%)
CIE-LABlab(52.85, 14.12, -57.18)
CIE-LCHlch(52.85, 58.90, 283.87°)
OKLaboklab(59.79% -0.0291 -0.1638)
OKLCHoklch(59.79% 0.166 259.9)
XYZxyz(22.8433, 20.9058, 74.0509)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7CE1 #E1A43F
analogous
#3FCDE1 #3F7CE1 #533FE1
triadic
#3F7CE1 #E13F7C #7CE13F
tetradic
#3F7CE1 #E13FCD #E1A43F #3FE153
square
#3F7CE1 #E13FCD #E1A43F #3FE153
split-complementary
#3F7CE1 #E1533F #CDE13F
monochromatic
#16448F #1F5DC4 #3F7CE1 #74A0E9 #A9C4F2

Accessibility & contrast

On white

4.05
#3F7CE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#3F7CE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F7CE1
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7CE1#FFFFFF#000000##000000
##3F7CE11.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4886E5
Deuteranopia (green-blind)
#2777DF
Tritanopia (blue-blind)
#0094A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3f7ce1;
/* rgb */ color: rgb(63, 124, 225);
/* oklch */ color: oklch(59.8% 0.166 259.9);
Tailwind
colors: {
  custom: {
    50: '#88a1eb',
    500: '#3f7ce1',
    950: '#000000',
  },
}
SCSS
$custom: #3f7ce1;
$custom-light: #88a1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7ce1",
  "rgb": {
    "r": 63,
    "g": 124,
    "b": 225
  },
  "hsl": {
    "h": 217.407,
    "s": 72.973,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59792,
    "c": 0.16636,
    "h": 259.9
  },
  "luminance": 0.20908
}

Semantic roles & 50–950 ramp

primary
#3F7CE1
secondary
#DFC69D
accent
#AB38F0
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #3F7CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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