#3F4E9C#3F4E9C

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

Color values

HEX#3F4E9C
RGBrgb(63, 78, 156)
HSLhsl(230, 42%, 43%)
HSVhsv(230, 60%, 61%)
CMYKcmyk(59.6%, 50%, 0%, 38.8%)
CIE-LABlab(35.80, 18.70, -44.48)
CIE-LCHlch(35.80, 48.25, 292.80°)
OKLaboklab(45.36% 0.0049 -0.1271)
OKLCHoklch(45.36% 0.127 272.2)
XYZxyz(10.7731, 8.9050, 32.5972)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4E9C #9C8D3F
analogous
#3F7C9C #3F4E9C #5F3F9C
triadic
#3F4E9C #9C3F4E #4E9C3F
tetradic
#3F4E9C #9C3F7C #9C8D3F #3F9C5F
square
#3F4E9C #9C3F7C #9C8D3F #3F9C5F
split-complementary
#3F4E9C #9C5F3F #7C9C3F
monochromatic
#1C2245 #2D3870 #3F4E9C #5B6BBD #8792CE

Accessibility & contrast

On white

7.55
#3F4E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3F4E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4E9C
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4E9C#FFFFFF#000000##FFFFFF
##3F4E9C1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26589F
Deuteranopia (green-blind)
#16509A
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3f4e9c;
/* rgb */ color: rgb(63, 78, 156);
/* oklch */ color: oklch(45.4% 0.127 272.2);
Tailwind
colors: {
  custom: {
    50: '#7c7fba',
    500: '#3f4e9c',
    950: '#000000',
  },
}
SCSS
$custom: #3f4e9c;
$custom-light: #7c7fba;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4e9c",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 156
  },
  "hsl": {
    "h": 230.323,
    "s": 42.466,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45359,
    "c": 0.12723,
    "h": 272.2
  },
  "luminance": 0.08906
}

Semantic roles & 50–950 ramp

primary
#3F4E9C
secondary
#B9AF7E
accent
#BE56D2
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3F4E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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