#3F4AB4#3F4AB4

#3F4AB4 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.4% C 0.166 H 273.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#3F4AB4
RGBrgb(63, 74, 180)
HSLhsl(234, 48%, 48%)
HSVhsv(234, 65%, 71%)
CMYKcmyk(65%, 58.9%, 0%, 29.4%)
CIE-LABlab(36.46, 29.73, -57.74)
CIE-LCHlch(36.46, 64.94, 297.25°)
OKLaboklab(46.4% 0.0102 -0.1662)
OKLCHoklch(46.4% 0.166 273.5)
XYZxyz(12.7342, 9.2485, 44.2852)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4AB4 #B4A93F
analogous
#3F84B4 #3F4AB4 #6E3FB4
triadic
#3F4AB4 #B43F4A #4AB43F
tetradic
#3F4AB4 #B43F84 #B4A93F #3FB46E
square
#3F4AB4 #B43F84 #B4A93F #3FB46E
split-complementary
#3F4AB4 #B46E3F #84B43F
monochromatic
#1F2559 #2F3787 #3F4AB4 #6770CA #949ADA

Accessibility & contrast

On white

7.37
#3F4AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F4AB4
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4AB4#FFFFFF#000000##FFFFFF
##3F4AB41.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f4ab4;
/* rgb */ color: rgb(63, 74, 180);
/* oklch */ color: oklch(46.4% 0.166 273.5);
Tailwind
colors: {
  custom: {
    50: '#817ccb',
    500: '#3f4ab4',
    950: '#000000',
  },
}
SCSS
$custom: #3f4ab4;
$custom-light: #817ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4ab4",
  "rgb": {
    "r": 63,
    "g": 74,
    "b": 180
  },
  "hsl": {
    "h": 234.359,
    "s": 48.148,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46397,
    "c": 0.16648,
    "h": 273.5
  },
  "luminance": 0.0925
}

Semantic roles & 50–950 ramp

primary
#3F4AB4
secondary
#C5BF8A
accent
#CB50D8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3F4AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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