#3F4EB4#3F4EB4

#3F4EB4 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.2% C 0.161 H 272.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#3F4EB4
RGBrgb(63, 78, 180)
HSLhsl(232, 48%, 48%)
HSVhsv(232, 65%, 71%)
CMYKcmyk(65%, 56.7%, 0%, 29.4%)
CIE-LABlab(37.48, 27.16, -56.08)
CIE-LCHlch(37.48, 62.31, 295.84°)
OKLaboklab(47.16% 0.0066 -0.1612)
OKLCHoklch(47.16% 0.161 272.3)
XYZxyz(13.0098, 9.7997, 44.3771)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4EB4 #B4A53F
analogous
#3F88B4 #3F4EB4 #6B3FB4
triadic
#3F4EB4 #B43F4E #4EB43F
tetradic
#3F4EB4 #B43F88 #B4A53F #3FB46B
square
#3F4EB4 #B43F88 #B4A53F #3FB46B
split-complementary
#3F4EB4 #B46B3F #88B43F
monochromatic
#1F2759 #2F3A87 #3F4EB4 #6773CA #949DDA

Accessibility & contrast

On white

7.09
#3F4EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#3F4EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4EB4
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4EB4#FFFFFF#000000##FFFFFF
##3F4EB41.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3f4eb4;
/* rgb */ color: rgb(63, 78, 180);
/* oklch */ color: oklch(47.2% 0.161 272.3);
Tailwind
colors: {
  custom: {
    50: '#817fcb',
    500: '#3f4eb4',
    950: '#000000',
  },
}
SCSS
$custom: #3f4eb4;
$custom-light: #817fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4eb4",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 180
  },
  "hsl": {
    "h": 232.308,
    "s": 48.148,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47158,
    "c": 0.16138,
    "h": 272.3
  },
  "luminance": 0.09801
}

Semantic roles & 50–950 ramp

primary
#3F4EB4
secondary
#C5BD8A
accent
#C650D8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3F4EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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