#3F4E98#3F4E98

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

Color values

HEX#3F4E98
RGBrgb(63, 78, 152)
HSLhsl(230, 41%, 42%)
HSVhsv(230, 59%, 60%)
CMYKcmyk(58.6%, 48.7%, 0%, 40.4%)
CIE-LABlab(35.54, 17.29, -42.48)
CIE-LCHlch(35.54, 45.87, 292.15°)
OKLaboklab(45.08% 0.0044 -0.1213)
OKLCHoklch(45.08% 0.121 272.1)
XYZxyz(10.4399, 8.7718, 30.8426)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4E98 #98893F
analogous
#3F7A98 #3F4E98 #5D3F98
triadic
#3F4E98 #983F4E #4E983F
tetradic
#3F4E98 #983F7A #98893F #3F985D
square
#3F4E98 #983F7A #98893F #3F985D
split-complementary
#3F4E98 #985D3F #7A983F
monochromatic
#1B2241 #2D386D #3F4E98 #5A6ABA #8591CC

Accessibility & contrast

On white

7.62
#3F4E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3F4E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4E98
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4E98#FFFFFF#000000##FFFFFF
##3F4E981.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A589B
Deuteranopia (green-blind)
#1D5096
Tritanopia (blue-blind)
#015F6B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3f4e98;
/* rgb */ color: rgb(63, 78, 152);
/* oklch */ color: oklch(45.1% 0.121 272.1);
Tailwind
colors: {
  custom: {
    50: '#7c7fb7',
    500: '#3f4e98',
    950: '#000000',
  },
}
SCSS
$custom: #3f4e98;
$custom-light: #7c7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4e98",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 229.888,
    "s": 41.395,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45079,
    "c": 0.12135,
    "h": 272.1
  },
  "luminance": 0.08773
}

Semantic roles & 50–950 ramp

primary
#3F4E98
secondary
#B7AD7C
accent
#BD57D1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3F4E98

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

Preview Lab → · Contrast checker → · Palette generator →

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