#3F4E99#3F4E99

#3F4E99 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.1% C 0.123 H 272.1°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#3F4E99
RGBrgb(63, 78, 153)
HSLhsl(230, 42%, 42%)
HSVhsv(230, 59%, 60%)
CMYKcmyk(58.8%, 49%, 0%, 40%)
CIE-LABlab(35.61, 17.65, -42.99)
CIE-LCHlch(35.61, 46.47, 292.32°)
OKLaboklab(45.15% 0.0045 -0.1227)
OKLCHoklch(45.15% 0.123 272.1)
XYZxyz(10.5222, 8.8046, 31.2758)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4E99 #998A3F
analogous
#3F7B99 #3F4E99 #5D3F99
triadic
#3F4E99 #993F4E #4E993F
tetradic
#3F4E99 #993F7B #998A3F #3F995D
square
#3F4E99 #993F7B #998A3F #3F995D
split-complementary
#3F4E99 #995D3F #7B993F
monochromatic
#1B2242 #2D386E #3F4E99 #5A6ABB #8591CD

Accessibility & contrast

On white

7.61
#3F4E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3F4E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4E99
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4E99#FFFFFF#000000##FFFFFF
##3F4E991.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29589C
Deuteranopia (green-blind)
#1B5097
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3f4e99;
/* rgb */ color: rgb(63, 78, 153);
/* oklch */ color: oklch(45.1% 0.123 272.1);
Tailwind
colors: {
  custom: {
    50: '#7c7fb7',
    500: '#3f4e99',
    950: '#000000',
  },
}
SCSS
$custom: #3f4e99;
$custom-light: #7c7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4e99",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 230,
    "s": 41.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45148,
    "c": 0.12282,
    "h": 272.1
  },
  "luminance": 0.08805
}

Semantic roles & 50–950 ramp

primary
#3F4E99
secondary
#B7AE7C
accent
#BD56D1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3F4E99

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

Preview Lab → · Contrast checker → · Palette generator →

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