#3F4FA5#3F4FA5

#3F4FA5 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.2% C 0.139 H 272.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#3F4FA5
RGBrgb(63, 79, 165)
HSLhsl(231, 45%, 45%)
HSVhsv(231, 62%, 65%)
CMYKcmyk(61.8%, 52.1%, 0%, 35.3%)
CIE-LABlab(36.68, 21.21, -48.47)
CIE-LCHlch(36.68, 52.91, 293.63°)
OKLaboklab(46.22% 0.0048 -0.1389)
OKLCHoklch(46.22% 0.139 272)
XYZxyz(11.6352, 9.3644, 36.7844)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4FA5 #A5953F
analogous
#3F82A5 #3F4FA5 #623FA5
triadic
#3F4FA5 #A53F4F #4FA53F
tetradic
#3F4FA5 #A53F82 #A5953F #3FA562
square
#3F4FA5 #A53F82 #A5953F #3FA562
split-complementary
#3F4FA5 #A5623F #82A53F
monochromatic
#1D254C #2E3A79 #3F4FA5 #5F6FC2 #8C97D3

Accessibility & contrast

On white

7.31
#3F4FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3F4FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4FA5
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4FA5#FFFFFF#000000##FFFFFF
##3F4FA51.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5BA8
Deuteranopia (green-blind)
#0052A3
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f4fa5;
/* rgb */ color: rgb(63, 79, 165);
/* oklch */ color: oklch(46.2% 0.139 272.0);
Tailwind
colors: {
  custom: {
    50: '#7e80c0',
    500: '#3f4fa5',
    950: '#000000',
  },
}
SCSS
$custom: #3f4fa5;
$custom-light: #7e80c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4fa5",
  "rgb": {
    "r": 63,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 230.588,
    "s": 44.737,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46215,
    "c": 0.13894,
    "h": 272
  },
  "luminance": 0.09365
}

Semantic roles & 50–950 ramp

primary
#3F4FA5
secondary
#BEB482
accent
#C053D4
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #3F4FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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