#3F4EAB#3F4EAB

#3F4EAB is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.5% C 0.149 H 272.4°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#3F4EAB
RGBrgb(63, 78, 171)
HSLhsl(232, 46%, 46%)
HSVhsv(232, 63%, 67%)
CMYKcmyk(63.2%, 54.4%, 0%, 32.9%)
CIE-LABlab(36.83, 23.98, -51.80)
CIE-LCHlch(36.83, 57.09, 294.84°)
OKLaboklab(46.46% 0.0062 -0.1487)
OKLCHoklch(46.46% 0.149 272.4)
XYZxyz(12.1225, 9.4448, 39.7044)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4EAB #AB9C3F
analogous
#3F84AB #3F4EAB #663FAB
triadic
#3F4EAB #AB3F4E #4EAB3F
tetradic
#3F4EAB #AB3F84 #AB9C3F #3FAB66
square
#3F4EAB #AB3F84 #AB9C3F #3FAB66
split-complementary
#3F4EAB #AB663F #84AB3F
monochromatic
#1E2552 #2F3A7E #3F4EAB #6270C5 #8F99D6

Accessibility & contrast

On white

7.27
#3F4EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3F4EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4EAB
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4EAB#FFFFFF#000000##FFFFFF
##3F4EAB1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5CAE
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3f4eab;
/* rgb */ color: rgb(63, 78, 171);
/* oklch */ color: oklch(46.5% 0.149 272.4);
Tailwind
colors: {
  custom: {
    50: '#7f7fc5',
    500: '#3f4eab',
    950: '#000000',
  },
}
SCSS
$custom: #3f4eab;
$custom-light: #7f7fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4eab",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 171
  },
  "hsl": {
    "h": 231.667,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46461,
    "c": 0.14881,
    "h": 272.4
  },
  "luminance": 0.09446
}

Semantic roles & 50–950 ramp

primary
#3F4EAB
secondary
#C1B885
accent
#C452D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3F4EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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