#3F5ECE#3F5ECE

#3F5ECE is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.3% C 0.177 H 268.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#3F5ECE
RGBrgb(63, 94, 206)
HSLhsl(227, 59%, 53%)
HSVhsv(227, 69%, 81%)
CMYKcmyk(69.4%, 54.4%, 0%, 19.2%)
CIE-LABlab(43.53, 26.15, -61.40)
CIE-LCHlch(43.53, 66.74, 293.07°)
OKLaboklab(52.29% -0.006 -0.1767)
OKLCHoklch(52.29% 0.177 268)
XYZxyz(17.1893, 13.5167, 60.0836)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5ECE #CEAF3F
analogous
#3FA5CE #3F5ECE #673FCE
triadic
#3F5ECE #CE3F5E #5ECE3F
tetradic
#3F5ECE #CE3FA5 #CEAF3F #3FCE67
square
#3F5ECE #CE3FA5 #CEAF3F #3FCE67
split-complementary
#3F5ECE #CE673F #A5CE3F
monochromatic
#1E3175 #2A45A6 #3F5ECE #7087DA #A1B0E7

Accessibility & contrast

On white

5.67
#3F5ECE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#3F5ECE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5ECE
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5ECE#FFFFFF#000000##FFFFFF
##3F5ECE1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f5ece;
/* rgb */ color: rgb(63, 94, 206);
/* oklch */ color: oklch(52.3% 0.177 268.0);
Tailwind
colors: {
  custom: {
    50: '#858bde',
    500: '#3f5ece',
    950: '#000000',
  },
}
SCSS
$custom: #3f5ece;
$custom-light: #858bde;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5ece",
  "rgb": {
    "r": 63,
    "g": 94,
    "b": 206
  },
  "hsl": {
    "h": 226.993,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52294,
    "c": 0.17681,
    "h": 268
  },
  "luminance": 0.13518
}

Semantic roles & 50–950 ramp

primary
#3F5ECE
secondary
#D3C695
accent
#C045E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F5ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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