#3F5DCA#3F5DCA

#3F5DCA is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.8% C 0.173 H 268.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#3F5DCA
RGBrgb(63, 93, 202)
HSLhsl(227, 57%, 52%)
HSVhsv(227, 69%, 79%)
CMYKcmyk(68.8%, 54%, 0%, 20.8%)
CIE-LABlab(42.99, 25.36, -59.99)
CIE-LCHlch(42.99, 65.12, 292.91°)
OKLaboklab(51.79% -0.0054 -0.1725)
OKLCHoklch(51.79% 0.173 268.2)
XYZxyz(16.6212, 13.1481, 57.5275)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5DCA #CAAC3F
analogous
#3FA3CA #3F5DCA #663FCA
triadic
#3F5DCA #CA3F5D #5DCA3F
tetradic
#3F5DCA #CA3FA3 #CAAC3F #3FCA66
square
#3F5DCA #CA3FA3 #CAAC3F #3FCA66
split-complementary
#3F5DCA #CA663F #A3CA3F
monochromatic
#1F3070 #2C45A0 #3F5DCA #6F85D7 #9FAEE4

Accessibility & contrast

On white

5.79
#3F5DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#3F5DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5DCA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5DCA#FFFFFF#000000##FFFFFF
##3F5DCA1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066CCE
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3f5dca;
/* rgb */ color: rgb(63, 93, 202);
/* oklch */ color: oklch(51.8% 0.173 268.2);
Tailwind
colors: {
  custom: {
    50: '#848adb',
    500: '#3f5dca',
    950: '#000000',
  },
}
SCSS
$custom: #3f5dca;
$custom-light: #848adb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5dca",
  "rgb": {
    "r": 63,
    "g": 93,
    "b": 202
  },
  "hsl": {
    "h": 227.05,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51793,
    "c": 0.17264,
    "h": 268.2
  },
  "luminance": 0.1315
}

Semantic roles & 50–950 ramp

primary
#3F5DCA
secondary
#D1C494
accent
#BF48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F5DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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