#3F4EC8#3F4EC8

#3F4EC8 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.8% C 0.188 H 272.0°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#3F4EC8
RGBrgb(63, 78, 200)
HSLhsl(233, 55%, 52%)
HSVhsv(233, 69%, 78%)
CMYKcmyk(68.5%, 61%, 0%, 21.6%)
CIE-LABlab(39.03, 34.19, -65.26)
CIE-LCHlch(39.03, 73.68, 297.65°)
OKLaboklab(48.79% 0.0066 -0.1882)
OKLCHoklch(48.79% 0.188 272)
XYZxyz(15.1961, 10.6742, 55.8919)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4EC8 #C8B93F
analogous
#3F93C8 #3F4EC8 #753FC8
triadic
#3F4EC8 #C83F4E #4EC83F
tetradic
#3F4EC8 #C83F93 #C8B93F #3FC875
square
#3F4EC8 #C83F93 #C8B93F #3FC875
split-complementary
#3F4EC8 #C8753F #93C83F
monochromatic
#1F286D #2D399D #3F4EC8 #6F7AD6 #9EA6E3

Accessibility & contrast

On white

6.70
#3F4EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#3F4EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F4EC8
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4EC8#FFFFFF#000000##FFFFFF
##3F4EC81.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#0056C6
Tritanopia (blue-blind)
#006D83
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3f4ec8;
/* rgb */ color: rgb(63, 78, 200);
/* oklch */ color: oklch(48.8% 0.188 272.0);
Tailwind
colors: {
  custom: {
    50: '#857fda',
    500: '#3f4ec8',
    950: '#000000',
  },
}
SCSS
$custom: #3f4ec8;
$custom-light: #857fda;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4ec8",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 200
  },
  "hsl": {
    "h": 233.431,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48791,
    "c": 0.18837,
    "h": 272
  },
  "luminance": 0.10676
}

Semantic roles & 50–950 ramp

primary
#3F4EC8
secondary
#D0C993
accent
#CE49DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3F4EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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