#3F5EC0#3F5EC0

#3F5EC0 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.3% C 0.158 H 267.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#3F5EC0
RGBrgb(63, 94, 192)
HSLhsl(226, 51%, 50%)
HSVhsv(226, 67%, 75%)
CMYKcmyk(67.2%, 51%, 0%, 24.7%)
CIE-LABlab(42.56, 21.13, -54.88)
CIE-LCHlch(42.56, 58.81, 291.05°)
OKLaboklab(51.25% -0.0072 -0.1575)
OKLCHoklch(51.25% 0.158 267.4)
XYZxyz(15.5637, 12.8664, 51.5222)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5EC0 #C0A13F
analogous
#3F9FC0 #3F5EC0 #603FC0
triadic
#3F5EC0 #C03F5E #5EC03F
tetradic
#3F5EC0 #C03F9F #C0A13F #3FC060
square
#3F5EC0 #C03F9F #C0A13F #3FC060
split-complementary
#3F5EC0 #C0603F #9FC03F
monochromatic
#213164 #304792 #3F5EC0 #6D85CF #9BABDE

Accessibility & contrast

On white

5.88
#3F5EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#3F5EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5EC0
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5EC0#FFFFFF#000000##FFFFFF
##3F5EC01.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246BC4
Deuteranopia (green-blind)
#005FBE
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3f5ec0;
/* rgb */ color: rgb(63, 94, 192);
/* oklch */ color: oklch(51.3% 0.158 267.4);
Tailwind
colors: {
  custom: {
    50: '#828bd4',
    500: '#3f5ec0',
    950: '#000000',
  },
}
SCSS
$custom: #3f5ec0;
$custom-light: #828bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5ec0",
  "rgb": {
    "r": 63,
    "g": 94,
    "b": 192
  },
  "hsl": {
    "h": 225.581,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.51253,
    "c": 0.15768,
    "h": 267.4
  },
  "luminance": 0.12868
}

Semantic roles & 50–950 ramp

primary
#3F5EC0
secondary
#CABC91
accent
#B84EDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3F5EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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