#3F5FD9#3F5FD9

#3F5FD9 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.3% C 0.190 H 268.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#3F5FD9
RGBrgb(63, 95, 217)
HSLhsl(228, 67%, 55%)
HSVhsv(228, 71%, 85%)
CMYKcmyk(71%, 56.2%, 0%, 14.9%)
CIE-LABlab(44.59, 29.46, -65.99)
CIE-LCHlch(44.59, 72.26, 294.06°)
OKLaboklab(53.34% -0.0062 -0.1902)
OKLCHoklch(53.34% 0.19 268.1)
XYZxyz(18.6622, 14.2490, 67.3990)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5FD9 #D9B93F
analogous
#3FACD9 #3F5FD9 #6C3FD9
triadic
#3F5FD9 #D93F5F #5FD93F
tetradic
#3F5FD9 #D93FAC #D9B93F #3FD96C
square
#3F5FD9 #D93FAC #D9B93F #3FD96C
split-complementary
#3F5FD9 #D96C3F #ACD93F
monochromatic
#1A3084 #2443B7 #3F5FD9 #728AE3 #A5B4ED

Accessibility & contrast

On white

5.45
#3F5FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#3F5FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5FD9
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5FD9#FFFFFF#000000##FFFFFF
##3F5FD91.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#0063D7
Tritanopia (blue-blind)
#007D93
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3f5fd9;
/* rgb */ color: rgb(63, 95, 217);
/* oklch */ color: oklch(53.3% 0.190 268.1);
Tailwind
colors: {
  custom: {
    50: '#878ce6',
    500: '#3f5fd9',
    950: '#000000',
  },
}
SCSS
$custom: #3f5fd9;
$custom-light: #878ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5fd9",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 217
  },
  "hsl": {
    "h": 227.532,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5334,
    "c": 0.19027,
    "h": 268.1
  },
  "luminance": 0.14251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F5FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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