#3F5ED4#3F5ED4

#3F5ED4 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.8% C 0.185 H 268.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#3F5ED4
RGBrgb(63, 94, 212)
HSLhsl(228, 63%, 54%)
HSVhsv(228, 70%, 83%)
CMYKcmyk(70.3%, 55.7%, 0%, 16.9%)
CIE-LABlab(43.96, 28.30, -64.14)
CIE-LCHlch(43.96, 70.11, 293.81°)
OKLaboklab(52.76% -0.0057 -0.1848)
OKLCHoklch(52.76% 0.185 268.2)
XYZxyz(17.9322, 13.8138, 63.9959)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5ED4 #D4B53F
analogous
#3FA9D4 #3F5ED4 #6B3FD4
triadic
#3F5ED4 #D43F5E #5ED43F
tetradic
#3F5ED4 #D43FA9 #D4B53F #3FD46B
square
#3F5ED4 #D43FA9 #D4B53F #3FD46B
split-complementary
#3F5ED4 #D46B3F #A9D43F
monochromatic
#1C307D #2743AF #3F5ED4 #7188DF #A3B2EA

Accessibility & contrast

On white

5.58
#3F5ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#3F5ED4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5ED4
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5ED4#FFFFFF#000000##FFFFFF
##3F5ED41.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#0061D2
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3f5ed4;
/* rgb */ color: rgb(63, 94, 212);
/* oklch */ color: oklch(52.8% 0.185 268.2);
Tailwind
colors: {
  custom: {
    50: '#868be2',
    500: '#3f5ed4',
    950: '#000000',
  },
}
SCSS
$custom: #3f5ed4;
$custom-light: #868be2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5ed4",
  "rgb": {
    "r": 63,
    "g": 94,
    "b": 212
  },
  "hsl": {
    "h": 227.517,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52757,
    "c": 0.18486,
    "h": 268.2
  },
  "luminance": 0.13816
}

Semantic roles & 50–950 ramp

primary
#3F5ED4
secondary
#D7CA98
accent
#C441E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #3F5ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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