#3F5DF0#3F5DF0

#3F5DF0 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 54.9% C 0.222 H 268.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#3F5DF0
RGBrgb(63, 93, 240)
HSLhsl(230, 86%, 59%)
HSVhsv(230, 74%, 94%)
CMYKcmyk(73.8%, 61.2%, 0%, 5.9%)
CIE-LABlab(45.87, 38.84, -76.90)
CIE-LCHlch(45.87, 86.16, 296.80°)
OKLaboklab(54.85% -0.0046 -0.2222)
OKLCHoklch(54.85% 0.222 268.8)
XYZxyz(21.6870, 15.1744, 84.2072)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5DF0 #F0D23F
analogous
#3FB5F0 #3F5DF0 #7A3FF0
triadic
#3F5DF0 #F03F5D #5DF03F
tetradic
#3F5DF0 #F03FB5 #F0D23F #3FF07A
square
#3F5DF0 #F03FB5 #F0D23F #3FF07A
split-complementary
#3F5DF0 #F07A3F #B5F03F
monochromatic
#0D27A8 #1235E0 #3F5DF0 #788DF4 #B1BDF9

Accessibility & contrast

On white

5.20
#3F5DF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#3F5DF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5DF0
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5DF0#FFFFFF#000000##FFFFFF
##3F5DF01.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F5
Deuteranopia (green-blind)
#0065ED
Tritanopia (blue-blind)
#00839E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3f5df0;
/* rgb */ color: rgb(63, 93, 240);
/* oklch */ color: oklch(54.9% 0.222 268.8);
Tailwind
colors: {
  custom: {
    50: '#8c8af6',
    500: '#3f5df0',
    950: '#000000',
  },
}
SCSS
$custom: #3f5df0;
$custom-light: #8c8af6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5df0",
  "rgb": {
    "r": 63,
    "g": 93,
    "b": 240
  },
  "hsl": {
    "h": 229.831,
    "s": 85.507,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5485,
    "c": 0.2223,
    "h": 268.8
  },
  "luminance": 0.15177
}

Semantic roles & 50–950 ramp

primary
#3F5DF0
secondary
#E8DCA3
accent
#D92CFC
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #3F5DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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