#3F4E9A#3F4E9A

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

Color values

HEX#3F4E9A
RGBrgb(63, 78, 154)
HSLhsl(230, 42%, 43%)
HSVhsv(230, 59%, 60%)
CMYKcmyk(59.1%, 49.4%, 0%, 39.6%)
CIE-LABlab(35.67, 17.99, -43.49)
CIE-LCHlch(35.67, 47.06, 292.48°)
OKLaboklab(45.22% 0.0046 -0.1242)
OKLCHoklch(45.22% 0.124 272.1)
XYZxyz(10.6051, 8.8378, 31.7126)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4E9A #9A8B3F
analogous
#3F7B9A #3F4E9A #5E3F9A
triadic
#3F4E9A #9A3F4E #4E9A3F
tetradic
#3F4E9A #9A3F7B #9A8B3F #3F9A5E
square
#3F4E9A #9A3F7B #9A8B3F #3F9A5E
split-complementary
#3F4E9A #9A5E3F #7B9A3F
monochromatic
#1B2243 #2D386F #3F4E9A #5A6BBC #8692CD

Accessibility & contrast

On white

7.59
#3F4E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3F4E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4E9A
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4E9A#FFFFFF#000000##FFFFFF
##3F4E9A1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28589D
Deuteranopia (green-blind)
#1A5098
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3f4e9a;
/* rgb */ color: rgb(63, 78, 154);
/* oklch */ color: oklch(45.2% 0.124 272.1);
Tailwind
colors: {
  custom: {
    50: '#7c7fb8',
    500: '#3f4e9a',
    950: '#000000',
  },
}
SCSS
$custom: #3f4e9a;
$custom-light: #7c7fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4e9a",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 154
  },
  "hsl": {
    "h": 230.11,
    "s": 41.935,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45218,
    "c": 0.1243,
    "h": 272.1
  },
  "luminance": 0.08839
}

Semantic roles & 50–950 ramp

primary
#3F4E9A
secondary
#B8AE7D
accent
#BD56D2
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3F4E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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