#3F46A5#3F46A5

#3F46A5 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.151 H 275.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#3F46A5
RGBrgb(63, 70, 165)
HSLhsl(236, 45%, 45%)
HSVhsv(236, 62%, 65%)
CMYKcmyk(61.8%, 57.6%, 0%, 35.3%)
CIE-LABlab(34.30, 27.07, -52.32)
CIE-LCHlch(34.30, 58.91, 297.36°)
OKLaboklab(44.43% 0.0138 -0.1503)
OKLCHoklch(44.43% 0.151 275.2)
XYZxyz(11.0294, 8.1528, 36.5824)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F46A5 #A59E3F
analogous
#3F79A5 #3F46A5 #6B3FA5
triadic
#3F46A5 #A53F46 #46A53F
tetradic
#3F46A5 #A53F79 #A59E3F #3FA56B
square
#3F46A5 #A53F79 #A59E3F #3FA56B
split-complementary
#3F46A5 #A56B3F #79A53F
monochromatic
#1D204C #2E3379 #3F46A5 #5F66C2 #8C90D3

Accessibility & contrast

On white

7.98
#3F46A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3F46A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F46A5
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F46A5#FFFFFF#000000##FFFFFF
##3F46A51.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#004CA3
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3f46a5;
/* rgb */ color: rgb(63, 70, 165);
/* oklch */ color: oklch(44.4% 0.151 275.2);
Tailwind
colors: {
  custom: {
    50: '#7f79c0',
    500: '#3f46a5',
    950: '#000000',
  },
}
SCSS
$custom: #3f46a5;
$custom-light: #7f79c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f46a5",
  "rgb": {
    "r": 63,
    "g": 70,
    "b": 165
  },
  "hsl": {
    "h": 235.882,
    "s": 44.737,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44433,
    "c": 0.1509,
    "h": 275.2
  },
  "luminance": 0.08154
}

Semantic roles & 50–950 ramp

primary
#3F46A5
secondary
#BEBA82
accent
#CC53D4
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #3F46A5

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

Preview Lab → · Contrast checker → · Palette generator →

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