#3F5FC2#3F5FC2

#3F5FC2 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.6% C 0.159 H 267.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#3F5FC2
RGBrgb(63, 95, 194)
HSLhsl(225, 52%, 50%)
HSVhsv(225, 68%, 76%)
CMYKcmyk(67.5%, 51%, 0%, 23.9%)
CIE-LABlab(42.97, 21.20, -55.39)
CIE-LCHlch(42.97, 59.31, 290.95°)
OKLaboklab(51.6% -0.0079 -0.159)
OKLCHoklch(51.6% 0.159 267.2)
XYZxyz(15.8763, 13.1347, 52.7270)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5FC2 #C2A23F
analogous
#3FA0C2 #3F5FC2 #613FC2
triadic
#3F5FC2 #C23F5F #5FC23F
tetradic
#3F5FC2 #C23FA0 #C2A23F #3FC261
square
#3F5FC2 #C23FA0 #C2A23F #3FC261
split-complementary
#3F5FC2 #C2613F #A0C23F
monochromatic
#203166 #2F4895 #3F5FC2 #6D86D1 #9CACE0

Accessibility & contrast

On white

5.79
#3F5FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#3F5FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5FC2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5FC2#FFFFFF#000000##FFFFFF
##3F5FC21.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246CC6
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#007687
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3f5fc2;
/* rgb */ color: rgb(63, 95, 194);
/* oklch */ color: oklch(51.6% 0.159 267.2);
Tailwind
colors: {
  custom: {
    50: '#838bd5',
    500: '#3f5fc2',
    950: '#000000',
  },
}
SCSS
$custom: #3f5fc2;
$custom-light: #838bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5fc2",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 225.344,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51602,
    "c": 0.15919,
    "h": 267.2
  },
  "luminance": 0.13136
}

Semantic roles & 50–950 ramp

primary
#3F5FC2
secondary
#CCBD91
accent
#B84DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #3F5FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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