#3F46CF#3F46CF

#3F46CF is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.0% C 0.207 H 273.3°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#3F46CF
RGBrgb(63, 70, 207)
HSLhsl(237, 60%, 53%)
HSVhsv(237, 70%, 81%)
CMYKcmyk(69.6%, 66.2%, 0%, 18.8%)
CIE-LABlab(37.74, 41.54, -71.43)
CIE-LCHlch(37.74, 82.63, 300.18°)
OKLaboklab(48.03% 0.0119 -0.2064)
OKLCHoklch(48.03% 0.207 273.3)
XYZxyz(15.4988, 9.9406, 60.1213)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F46CF #CFC83F
analogous
#3F8ECF #3F46CF #803FCF
triadic
#3F46CF #CF3F46 #46CF3F
tetradic
#3F46CF #CF3F8E #CFC83F #3FCF80
square
#3F46CF #CF3F8E #CFC83F #3FCF80
split-complementary
#3F46CF #CF803F #8ECF3F
monochromatic
#1E2276 #2A30A7 #3F46CF #7075DB #A1A4E7

Accessibility & contrast

On white

7.03
#3F46CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3F46CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F46CF
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F46CF#FFFFFF#000000##FFFFFF
##3F46CF1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D3
Deuteranopia (green-blind)
#0052CC
Tritanopia (blue-blind)
#006A84
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3f46cf;
/* rgb */ color: rgb(63, 70, 207);
/* oklch */ color: oklch(48.0% 0.207 273.3);
Tailwind
colors: {
  custom: {
    50: '#877adf',
    500: '#3f46cf',
    950: '#000000',
  },
}
SCSS
$custom: #3f46cf;
$custom-light: #877adf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f46cf",
  "rgb": {
    "r": 63,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 237.083,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48027,
    "c": 0.20672,
    "h": 273.3
  },
  "luminance": 0.09942
}

Semantic roles & 50–950 ramp

primary
#3F46CF
secondary
#D4D196
accent
#DB45E3
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #3F46CF

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

Preview Lab → · Contrast checker → · Palette generator →

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