#3F5ED9#3F5ED9

#3F5ED9 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.1% C 0.191 H 268.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#3F5ED9
RGBrgb(63, 94, 217)
HSLhsl(228, 67%, 55%)
HSVhsv(228, 71%, 85%)
CMYKcmyk(71%, 56.7%, 0%, 14.9%)
CIE-LABlab(44.33, 30.09, -66.40)
CIE-LCHlch(44.33, 72.90, 294.38°)
OKLaboklab(53.15% -0.0055 -0.1914)
OKLCHoklch(53.15% 0.191 268.4)
XYZxyz(18.5727, 14.0700, 67.3692)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5ED9 #D9BA3F
analogous
#3FABD9 #3F5ED9 #6D3FD9
triadic
#3F5ED9 #D93F5E #5ED93F
tetradic
#3F5ED9 #D93FAB #D9BA3F #3FD96D
square
#3F5ED9 #D93FAB #D9BA3F #3FD96D
split-complementary
#3F5ED9 #D96D3F #ABD93F
monochromatic
#1A2F84 #2442B7 #3F5ED9 #7289E3 #A5B4ED

Accessibility & contrast

On white

5.51
#3F5ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#3F5ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5ED9
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5ED9#FFFFFF#000000##FFFFFF
##3F5ED91.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#0062D7
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3f5ed9;
/* rgb */ color: rgb(63, 94, 217);
/* oklch */ color: oklch(53.1% 0.191 268.4);
Tailwind
colors: {
  custom: {
    50: '#878be6',
    500: '#3f5ed9',
    950: '#000000',
  },
}
SCSS
$custom: #3f5ed9;
$custom-light: #878be6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5ed9",
  "rgb": {
    "r": 63,
    "g": 94,
    "b": 217
  },
  "hsl": {
    "h": 227.922,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53149,
    "c": 0.19148,
    "h": 268.4
  },
  "luminance": 0.14072
}

Semantic roles & 50–950 ramp

primary
#3F5ED9
secondary
#DACD9A
accent
#C73EEA
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3F5ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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