#3F5CD9#3F5CD9

#3F5CD9 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.8% C 0.194 H 268.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#3F5CD9
RGBrgb(63, 92, 217)
HSLhsl(229, 67%, 55%)
HSVhsv(229, 71%, 85%)
CMYKcmyk(71%, 57.6%, 0%, 14.9%)
CIE-LABlab(43.83, 31.35, -67.22)
CIE-LCHlch(43.83, 74.18, 295.00°)
OKLaboklab(52.77% -0.004 -0.1938)
OKLCHoklch(52.77% 0.194 268.8)
XYZxyz(18.3971, 13.7189, 67.3106)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5CD9 #D9BC3F
analogous
#3FA9D9 #3F5CD9 #6F3FD9
triadic
#3F5CD9 #D93F5C #5CD93F
tetradic
#3F5CD9 #D93FA9 #D9BC3F #3FD96F
square
#3F5CD9 #D93FA9 #D9BC3F #3FD96F
split-complementary
#3F5CD9 #D96F3F #A9D93F
monochromatic
#1A2E84 #2440B7 #3F5CD9 #7287E3 #A5B3ED

Accessibility & contrast

On white

5.61
#3F5CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#3F5CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5CD9
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5CD9#FFFFFF#000000##FFFFFF
##3F5CD91.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#0061D7
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3f5cd9;
/* rgb */ color: rgb(63, 92, 217);
/* oklch */ color: oklch(52.8% 0.194 268.8);
Tailwind
colors: {
  custom: {
    50: '#8789e6',
    500: '#3f5cd9',
    950: '#000000',
  },
}
SCSS
$custom: #3f5cd9;
$custom-light: #8789e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5cd9",
  "rgb": {
    "r": 63,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 228.701,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5277,
    "c": 0.19389,
    "h": 268.8
  },
  "luminance": 0.13721
}

Semantic roles & 50–950 ramp

primary
#3F5CD9
secondary
#DACE9A
accent
#C93EEA
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #3F5CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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