#3F5FCF#3F5FCF

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

Color values

HEX#3F5FCF
RGBrgb(63, 95, 207)
HSLhsl(227, 60%, 53%)
HSVhsv(227, 70%, 81%)
CMYKcmyk(69.6%, 54.1%, 0%, 18.8%)
CIE-LABlab(43.86, 25.87, -61.44)
CIE-LCHlch(43.86, 66.67, 292.84°)
OKLaboklab(52.57% -0.0068 -0.1768)
OKLCHoklch(52.57% 0.177 267.8)
XYZxyz(17.4007, 13.7444, 60.7553)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5FCF #CFAF3F
analogous
#3FA7CF #3F5FCF #673FCF
triadic
#3F5FCF #CF3F5F #5FCF3F
tetradic
#3F5FCF #CF3FA7 #CFAF3F #3FCF67
square
#3F5FCF #CF3FA7 #CFAF3F #3FCF67
split-complementary
#3F5FCF #CF673F #A7CF3F
monochromatic
#1E3176 #2A46A7 #3F5FCF #7088DB #A1B1E7

Accessibility & contrast

On white

5.60
#3F5FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#3F5FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5FCF
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5FCF#FFFFFF#000000##FFFFFF
##3F5FCF1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016FD3
Deuteranopia (green-blind)
#0061CD
Tritanopia (blue-blind)
#007A8E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3f5fcf;
/* rgb */ color: rgb(63, 95, 207);
/* oklch */ color: oklch(52.6% 0.177 267.8);
Tailwind
colors: {
  custom: {
    50: '#858cde',
    500: '#3f5fcf',
    950: '#000000',
  },
}
SCSS
$custom: #3f5fcf;
$custom-light: #858cde;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5fcf",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 226.667,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52567,
    "c": 0.17693,
    "h": 267.8
  },
  "luminance": 0.13746
}

Semantic roles & 50–950 ramp

primary
#3F5FCF
secondary
#D4C696
accent
#C045E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3F5FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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