#3F4E9E#3F4E9E

#3F4E9E is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.5% C 0.130 H 272.2°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#3F4E9E
RGBrgb(63, 78, 158)
HSLhsl(231, 43%, 43%)
HSVhsv(231, 60%, 62%)
CMYKcmyk(60.1%, 50.6%, 0%, 38%)
CIE-LABlab(35.93, 19.40, -45.47)
CIE-LCHlch(35.93, 49.44, 293.10°)
OKLaboklab(45.5% 0.0051 -0.1301)
OKLCHoklch(45.5% 0.13 272.2)
XYZxyz(10.9438, 8.9733, 33.4964)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4E9E #9E8F3F
analogous
#3F7D9E #3F4E9E #5F3F9E
triadic
#3F4E9E #9E3F4E #4E9E3F
tetradic
#3F4E9E #9E3F7D #9E8F3F #3F9E5F
square
#3F4E9E #9E3F7D #9E8F3F #3F9E5F
split-complementary
#3F4E9E #9E5F3F #7D9E3F
monochromatic
#1C2346 #2E3872 #3F4E9E #5C6CBE #8893D0

Accessibility & contrast

On white

7.51
#3F4E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F4E9E
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4E9E#FFFFFF#000000##FFFFFF
##3F4E9E1.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2459A1
Deuteranopia (green-blind)
#12519C
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3f4e9e;
/* rgb */ color: rgb(63, 78, 158);
/* oklch */ color: oklch(45.5% 0.130 272.2);
Tailwind
colors: {
  custom: {
    50: '#7d7fbb',
    500: '#3f4e9e',
    950: '#000000',
  },
}
SCSS
$custom: #3f4e9e;
$custom-light: #7d7fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4e9e",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 158
  },
  "hsl": {
    "h": 230.526,
    "s": 42.986,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45502,
    "c": 0.13016,
    "h": 272.2
  },
  "luminance": 0.08974
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F4E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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