#3F4E9D#3F4E9D

#3F4E9D is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.4% C 0.129 H 272.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#3F4E9D
RGBrgb(63, 78, 157)
HSLhsl(230, 43%, 43%)
HSVhsv(230, 60%, 62%)
CMYKcmyk(59.9%, 50.3%, 0%, 38.4%)
CIE-LABlab(35.87, 19.05, -44.98)
CIE-LCHlch(35.87, 48.85, 292.95°)
OKLaboklab(45.43% 0.005 -0.1286)
OKLCHoklch(45.43% 0.129 272.2)
XYZxyz(10.8581, 8.9390, 33.0450)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4E9D #9D8E3F
analogous
#3F7D9D #3F4E9D #5F3F9D
triadic
#3F4E9D #9D3F4E #4E9D3F
tetradic
#3F4E9D #9D3F7D #9D8E3F #3F9D5F
square
#3F4E9D #9D3F7D #9D8E3F #3F9D5F
split-complementary
#3F4E9D #9D5F3F #7D9D3F
monochromatic
#1C2346 #2D3871 #3F4E9D #5C6BBD #8793CF

Accessibility & contrast

On white

7.53
#3F4E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3F4E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4E9D
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4E9D#FFFFFF#000000##FFFFFF
##3F4E9D1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2559A0
Deuteranopia (green-blind)
#14509B
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3f4e9d;
/* rgb */ color: rgb(63, 78, 157);
/* oklch */ color: oklch(45.4% 0.129 272.2);
Tailwind
colors: {
  custom: {
    50: '#7d7fba',
    500: '#3f4e9d',
    950: '#000000',
  },
}
SCSS
$custom: #3f4e9d;
$custom-light: #7d7fba;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4e9d",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 230.426,
    "s": 42.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4543,
    "c": 0.1287,
    "h": 272.2
  },
  "luminance": 0.0894
}

Semantic roles & 50–950 ramp

primary
#3F4E9D
secondary
#BAB07E
accent
#BF55D3
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3F4E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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