#3F4EB6#3F4EB6

#3F4EB6 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.164 H 272.3°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#3F4EB6
RGBrgb(63, 78, 182)
HSLhsl(232, 49%, 48%)
HSVhsv(232, 65%, 71%)
CMYKcmyk(65.4%, 57.1%, 0%, 28.6%)
CIE-LABlab(37.63, 27.87, -57.01)
CIE-LCHlch(37.63, 63.46, 296.05°)
OKLaboklab(47.32% 0.0066 -0.164)
OKLCHoklch(47.32% 0.164 272.3)
XYZxyz(13.2150, 9.8818, 45.4579)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4EB6 #B6A73F
analogous
#3F89B6 #3F4EB6 #6B3FB6
triadic
#3F4EB6 #B63F4E #4EB63F
tetradic
#3F4EB6 #B63F89 #B6A73F #3FB66B
square
#3F4EB6 #B63F89 #B6A73F #3FB66B
split-complementary
#3F4EB6 #B66B3F #89B63F
monochromatic
#20275B #2F3B89 #3F4EB6 #6874CB #959EDA

Accessibility & contrast

On white

7.06
#3F4EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3F4EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4EB6
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4EB6#FFFFFF#000000##FFFFFF
##3F4EB61.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBA
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3f4eb6;
/* rgb */ color: rgb(63, 78, 182);
/* oklch */ color: oklch(47.3% 0.164 272.3);
Tailwind
colors: {
  custom: {
    50: '#817fcd',
    500: '#3f4eb6',
    950: '#000000',
  },
}
SCSS
$custom: #3f4eb6;
$custom-light: #817fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4eb6",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 182
  },
  "hsl": {
    "h": 232.437,
    "s": 48.571,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47316,
    "c": 0.16414,
    "h": 272.3
  },
  "luminance": 0.09883
}

Semantic roles & 50–950 ramp

primary
#3F4EB6
secondary
#C6BE8B
accent
#C750D8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3F4EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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