#3F5ECA#3F5ECA

#3F5ECA is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.0% C 0.171 H 267.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#3F5ECA
RGBrgb(63, 94, 202)
HSLhsl(227, 57%, 52%)
HSVhsv(227, 69%, 79%)
CMYKcmyk(68.8%, 53.5%, 0%, 20.8%)
CIE-LABlab(43.25, 24.72, -59.56)
CIE-LCHlch(43.25, 64.48, 292.54°)
OKLaboklab(51.99% -0.0063 -0.1713)
OKLCHoklch(51.99% 0.171 267.9)
XYZxyz(16.7096, 13.3248, 57.5570)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5ECA #CAAB3F
analogous
#3FA3CA #3F5ECA #663FCA
triadic
#3F5ECA #CA3F5E #5ECA3F
tetradic
#3F5ECA #CA3FA3 #CAAB3F #3FCA66
square
#3F5ECA #CA3FA3 #CAAB3F #3FCA66
split-complementary
#3F5ECA #CA663F #A3CA3F
monochromatic
#1F3170 #2C46A0 #3F5ECA #6F86D7 #9FAEE4

Accessibility & contrast

On white

5.73
#3F5ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#3F5ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5ECA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5ECA#FFFFFF#000000##FFFFFF
##3F5ECA1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6DCE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3f5eca;
/* rgb */ color: rgb(63, 94, 202);
/* oklch */ color: oklch(52.0% 0.171 267.9);
Tailwind
colors: {
  custom: {
    50: '#848bdb',
    500: '#3f5eca',
    950: '#000000',
  },
}
SCSS
$custom: #3f5eca;
$custom-light: #848bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5eca",
  "rgb": {
    "r": 63,
    "g": 94,
    "b": 202
  },
  "hsl": {
    "h": 226.619,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51991,
    "c": 0.1714,
    "h": 267.9
  },
  "luminance": 0.13326
}

Semantic roles & 50–950 ramp

primary
#3F5ECA
secondary
#D1C394
accent
#BE48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F5ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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