#3F4FA2#3F4FA2

#3F4FA2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.135 H 271.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#3F4FA2
RGBrgb(63, 79, 162)
HSLhsl(230, 44%, 44%)
HSVhsv(230, 61%, 64%)
CMYKcmyk(61.1%, 51.2%, 0%, 36.5%)
CIE-LABlab(36.47, 20.15, -47.00)
CIE-LCHlch(36.47, 51.14, 293.21°)
OKLaboklab(46% 0.0045 -0.1345)
OKLCHoklch(46% 0.135 271.9)
XYZxyz(11.3653, 9.2564, 35.3632)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4FA2 #A2923F
analogous
#3F81A2 #3F4FA2 #613FA2
triadic
#3F4FA2 #A23F4F #4FA23F
tetradic
#3F4FA2 #A23F81 #A2923F #3FA261
square
#3F4FA2 #A23F81 #A2923F #3FA261
split-complementary
#3F4FA2 #A2613F #81A23F
monochromatic
#1D244A #2E3A76 #3F4FA2 #5E6EC0 #8A95D1

Accessibility & contrast

On white

7.36
#3F4FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3F4FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4FA2
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4FA2#FFFFFF#000000##FFFFFF
##3F4FA21.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225AA5
Deuteranopia (green-blind)
#0A52A0
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f4fa2;
/* rgb */ color: rgb(63, 79, 162);
/* oklch */ color: oklch(46.0% 0.135 271.9);
Tailwind
colors: {
  custom: {
    50: '#7d80be',
    500: '#3f4fa2',
    950: '#000000',
  },
}
SCSS
$custom: #3f4fa2;
$custom-light: #7d80be;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4fa2",
  "rgb": {
    "r": 63,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 230.303,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45996,
    "c": 0.13462,
    "h": 271.9
  },
  "luminance": 0.09257
}

Semantic roles & 50–950 ramp

primary
#3F4FA2
secondary
#BCB381
accent
#BF54D4
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #3F4FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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