#3F5FCE#3F5FCE

#3F5FCE is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.5% C 0.176 H 267.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#3F5FCE
RGBrgb(63, 95, 206)
HSLhsl(227, 59%, 53%)
HSVhsv(227, 69%, 81%)
CMYKcmyk(69.4%, 53.9%, 0%, 19.2%)
CIE-LABlab(43.79, 25.51, -60.98)
CIE-LCHlch(43.79, 66.10, 292.71°)
OKLaboklab(52.49% -0.0068 -0.1754)
OKLCHoklch(52.49% 0.176 267.8)
XYZxyz(17.2788, 13.6957, 60.1135)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5FCE #CEAE3F
analogous
#3FA7CE #3F5FCE #663FCE
triadic
#3F5FCE #CE3F5F #5FCE3F
tetradic
#3F5FCE #CE3FA7 #CEAE3F #3FCE66
square
#3F5FCE #CE3FA7 #CEAE3F #3FCE66
split-complementary
#3F5FCE #CE663F #A7CE3F
monochromatic
#1E3175 #2A46A6 #3F5FCE #7088DA #A1B0E7

Accessibility & contrast

On white

5.62
#3F5FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#3F5FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5FCE
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5FCE#FFFFFF#000000##FFFFFF
##3F5FCE1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056ED2
Deuteranopia (green-blind)
#0061CC
Tritanopia (blue-blind)
#007A8D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3f5fce;
/* rgb */ color: rgb(63, 95, 206);
/* oklch */ color: oklch(52.5% 0.176 267.8);
Tailwind
colors: {
  custom: {
    50: '#858cde',
    500: '#3f5fce',
    950: '#000000',
  },
}
SCSS
$custom: #3f5fce;
$custom-light: #858cde;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5fce",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 206
  },
  "hsl": {
    "h": 226.573,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52491,
    "c": 0.17558,
    "h": 267.8
  },
  "luminance": 0.13697
}

Semantic roles & 50–950 ramp

primary
#3F5FCE
secondary
#D3C695
accent
#BF45E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3F5FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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