#3F46CA#3F46CA

#3F46CA is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.6% C 0.200 H 273.5°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#3F46CA
RGBrgb(63, 70, 202)
HSLhsl(237, 57%, 52%)
HSVhsv(237, 69%, 79%)
CMYKcmyk(68.8%, 65.3%, 0%, 20.8%)
CIE-LABlab(37.30, 39.85, -69.25)
CIE-LCHlch(37.30, 79.90, 299.92°)
OKLaboklab(47.57% 0.0123 -0.2)
OKLCHoklch(47.57% 0.2 273.5)
XYZxyz(14.8972, 9.6999, 56.9529)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F46CA #CAC33F
analogous
#3F8CCA #3F46CA #7D3FCA
triadic
#3F46CA #CA3F46 #46CA3F
tetradic
#3F46CA #CA3F8C #CAC33F #3FCA7D
square
#3F46CA #CA3F8C #CAC33F #3FCA7D
split-complementary
#3F46CA #CA7D3F #8CCA3F
monochromatic
#1F2370 #2C32A0 #3F46CA #6F74D7 #9FA2E4

Accessibility & contrast

On white

7.14
#3F46CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#3F46CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F46CA
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F46CA#FFFFFF#000000##FFFFFF
##3F46CA1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#0051C7
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3f46ca;
/* rgb */ color: rgb(63, 70, 202);
/* oklch */ color: oklch(47.6% 0.200 273.5);
Tailwind
colors: {
  custom: {
    50: '#867adb',
    500: '#3f46ca',
    950: '#000000',
  },
}
SCSS
$custom: #3f46ca;
$custom-light: #867adb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f46ca",
  "rgb": {
    "r": 63,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 236.978,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47574,
    "c": 0.20037,
    "h": 273.5
  },
  "luminance": 0.09701
}

Semantic roles & 50–950 ramp

primary
#3F46CA
secondary
#D1CE94
accent
#D848E0
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #3F46CA

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

Preview Lab → · Contrast checker → · Palette generator →

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