#3F4EB2#3F4EB2

#3F4EB2 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.0% C 0.159 H 272.4°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#3F4EB2
RGBrgb(63, 78, 178)
HSLhsl(232, 48%, 47%)
HSVhsv(232, 65%, 70%)
CMYKcmyk(64.6%, 56.2%, 0%, 30.2%)
CIE-LABlab(37.33, 26.45, -55.14)
CIE-LCHlch(37.33, 61.15, 295.63°)
OKLaboklab(47% 0.0065 -0.1585)
OKLCHoklch(47% 0.159 272.4)
XYZxyz(12.8075, 9.7188, 43.3118)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4EB2 #B2A33F
analogous
#3F88B2 #3F4EB2 #6A3FB2
triadic
#3F4EB2 #B23F4E #4EB23F
tetradic
#3F4EB2 #B23F88 #B2A33F #3FB26A
square
#3F4EB2 #B23F88 #B2A33F #3FB26A
split-complementary
#3F4EB2 #B26A3F #88B23F
monochromatic
#1F2658 #2F3A85 #3F4EB2 #6672C9 #939CD9

Accessibility & contrast

On white

7.13
#3F4EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#3F4EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4EB2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4EB2#FFFFFF#000000##FFFFFF
##3F4EB21.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3f4eb2;
/* rgb */ color: rgb(63, 78, 178);
/* oklch */ color: oklch(47.0% 0.159 272.4);
Tailwind
colors: {
  custom: {
    50: '#817fca',
    500: '#3f4eb2',
    950: '#000000',
  },
}
SCSS
$custom: #3f4eb2;
$custom-light: #817fca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4eb2",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 232.174,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47001,
    "c": 0.15861,
    "h": 272.4
  },
  "luminance": 0.0972
}

Semantic roles & 50–950 ramp

primary
#3F4EB2
secondary
#C4BC89
accent
#C650D7
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3F4EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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