#3F5EF0#3F5EF0

#3F5EF0 is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.0% C 0.221 H 268.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#3F5EF0
RGBrgb(63, 94, 240)
HSLhsl(229, 86%, 59%)
HSVhsv(229, 74%, 94%)
CMYKcmyk(73.8%, 60.8%, 0%, 5.9%)
CIE-LABlab(46.11, 38.22, -76.51)
CIE-LCHlch(46.11, 85.53, 296.55°)
OKLaboklab(55.03% -0.0053 -0.2211)
OKLCHoklch(55.03% 0.221 268.6)
XYZxyz(21.7753, 15.3511, 84.2366)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5EF0 #F0D13F
analogous
#3FB6F0 #3F5EF0 #793FF0
triadic
#3F5EF0 #F03F5E #5EF03F
tetradic
#3F5EF0 #F03FB6 #F0D13F #3FF079
square
#3F5EF0 #F03FB6 #F0D13F #3FF079
split-complementary
#3F5EF0 #F0793F #B6F03F
monochromatic
#0D28A8 #1236E0 #3F5EF0 #788EF4 #B1BDF9

Accessibility & contrast

On white

5.16
#3F5EF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#3F5EF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5EF0
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5EF0#FFFFFF#000000##FFFFFF
##3F5EF01.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f5ef0;
/* rgb */ color: rgb(63, 94, 240);
/* oklch */ color: oklch(55.0% 0.221 268.6);
Tailwind
colors: {
  custom: {
    50: '#8c8bf6',
    500: '#3f5ef0',
    950: '#000000',
  },
}
SCSS
$custom: #3f5ef0;
$custom-light: #8c8bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5ef0",
  "rgb": {
    "r": 63,
    "g": 94,
    "b": 240
  },
  "hsl": {
    "h": 229.492,
    "s": 85.507,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55027,
    "c": 0.22115,
    "h": 268.6
  },
  "luminance": 0.15353
}

Semantic roles & 50–950 ramp

primary
#3F5EF0
secondary
#E8DCA3
accent
#D72CFC
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #3F5EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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