#3F4FA1#3F4FA1

#3F4FA1 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.133 H 271.9°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#3F4FA1
RGBrgb(63, 79, 161)
HSLhsl(230, 44%, 44%)
HSVhsv(230, 61%, 63%)
CMYKcmyk(60.9%, 50.9%, 0%, 36.9%)
CIE-LABlab(36.41, 19.80, -46.51)
CIE-LCHlch(36.41, 50.55, 293.06°)
OKLaboklab(45.92% 0.0044 -0.1331)
OKLCHoklch(45.92% 0.133 271.9)
XYZxyz(11.2768, 9.2210, 34.8969)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4FA1 #A1913F
analogous
#3F80A1 #3F4FA1 #603FA1
triadic
#3F4FA1 #A13F4F #4FA13F
tetradic
#3F4FA1 #A13F80 #A1913F #3FA160
square
#3F4FA1 #A13F80 #A1913F #3FA160
split-complementary
#3F4FA1 #A1603F #80A13F
monochromatic
#1D2449 #2E3975 #3F4FA1 #5D6DC0 #8995D1

Accessibility & contrast

On white

7.38
#3F4FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#3F4FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4FA1
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4FA1#FFFFFF#000000##FFFFFF
##3F4FA11.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235AA4
Deuteranopia (green-blind)
#0E529F
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f4fa1;
/* rgb */ color: rgb(63, 79, 161);
/* oklch */ color: oklch(45.9% 0.133 271.9);
Tailwind
colors: {
  custom: {
    50: '#7d80bd',
    500: '#3f4fa1',
    950: '#000000',
  },
}
SCSS
$custom: #3f4fa1;
$custom-light: #7d80bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4fa1",
  "rgb": {
    "r": 63,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 230.204,
    "s": 43.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45924,
    "c": 0.13317,
    "h": 271.9
  },
  "luminance": 0.09222
}

Semantic roles & 50–950 ramp

primary
#3F4FA1
secondary
#BCB280
accent
#BF54D3
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3F4FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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