#3F46AF#3F46AF

#3F46AF is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.2% C 0.165 H 274.8°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#3F46AF
RGBrgb(63, 70, 175)
HSLhsl(236, 47%, 47%)
HSVhsv(236, 64%, 69%)
CMYKcmyk(64%, 60%, 0%, 31.4%)
CIE-LABlab(35.07, 30.55, -57.04)
CIE-LCHlch(35.07, 64.71, 298.17°)
OKLaboklab(45.24% 0.0138 -0.1642)
OKLCHoklch(45.24% 0.165 274.8)
XYZxyz(11.9754, 8.5312, 41.5647)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F46AF #AFA83F
analogous
#3F7EAF #3F46AF #703FAF
triadic
#3F46AF #AF3F46 #46AF3F
tetradic
#3F46AF #AF3F7E #AFA83F #3FAF70
square
#3F46AF #AF3F7E #AFA83F #3FAF70
split-complementary
#3F46AF #AF703F #7EAF3F
monochromatic
#1F2255 #2F3482 #3F46AF #646AC7 #9195D7

Accessibility & contrast

On white

7.76
#3F46AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3F46AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F46AF
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F46AF#FFFFFF#000000##FFFFFF
##3F46AF1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f46af;
/* rgb */ color: rgb(63, 70, 175);
/* oklch */ color: oklch(45.2% 0.165 274.8);
Tailwind
colors: {
  custom: {
    50: '#8079c8',
    500: '#3f46af',
    950: '#000000',
  },
}
SCSS
$custom: #3f46af;
$custom-light: #8079c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f46af",
  "rgb": {
    "r": 63,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 236.25,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45243,
    "c": 0.16474,
    "h": 274.8
  },
  "luminance": 0.08532
}

Semantic roles & 50–950 ramp

primary
#3F46AF
secondary
#C3BF87
accent
#CE51D7
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3F46AF

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

Preview Lab → · Contrast checker → · Palette generator →

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