#3F5ECF#3F5ECF

#3F5ECF is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.4% C 0.178 H 268.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#3F5ECF
RGBrgb(63, 94, 207)
HSLhsl(227, 60%, 53%)
HSVhsv(227, 70%, 81%)
CMYKcmyk(69.6%, 54.6%, 0%, 18.8%)
CIE-LABlab(43.60, 26.51, -61.86)
CIE-LCHlch(43.60, 67.30, 293.20°)
OKLaboklab(52.37% -0.006 -0.1781)
OKLCHoklch(52.37% 0.178 268.1)
XYZxyz(17.3112, 13.5654, 60.7255)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5ECF #CFB03F
analogous
#3FA6CF #3F5ECF #683FCF
triadic
#3F5ECF #CF3F5E #5ECF3F
tetradic
#3F5ECF #CF3FA6 #CFB03F #3FCF68
square
#3F5ECF #CF3FA6 #CFB03F #3FCF68
split-complementary
#3F5ECF #CF683F #A6CF3F
monochromatic
#1E3176 #2A45A7 #3F5ECF #7087DB #A1B0E7

Accessibility & contrast

On white

5.66
#3F5ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#3F5ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5ECF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5ECF#FFFFFF#000000##FFFFFF
##3F5ECF1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#0061CD
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3f5ecf;
/* rgb */ color: rgb(63, 94, 207);
/* oklch */ color: oklch(52.4% 0.178 268.1);
Tailwind
colors: {
  custom: {
    50: '#858bde',
    500: '#3f5ecf',
    950: '#000000',
  },
}
SCSS
$custom: #3f5ecf;
$custom-light: #858bde;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5ecf",
  "rgb": {
    "r": 63,
    "g": 94,
    "b": 207
  },
  "hsl": {
    "h": 227.083,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52371,
    "c": 0.17816,
    "h": 268.1
  },
  "luminance": 0.13567
}

Semantic roles & 50–950 ramp

primary
#3F5ECF
secondary
#D4C796
accent
#C145E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F5ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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