#3F4ECB#3F4ECB

#3F4ECB is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.0% C 0.192 H 271.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#3F4ECB
RGBrgb(63, 78, 203)
HSLhsl(234, 57%, 52%)
HSVhsv(234, 69%, 80%)
CMYKcmyk(69%, 61.6%, 0%, 20.4%)
CIE-LABlab(39.27, 35.24, -66.61)
CIE-LCHlch(39.27, 75.36, 297.88°)
OKLaboklab(49.05% 0.0065 -0.1922)
OKLCHoklch(49.05% 0.192 271.9)
XYZxyz(15.5501, 10.8158, 57.7565)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4ECB #CBBC3F
analogous
#3F94CB #3F4ECB #763FCB
triadic
#3F4ECB #CB3F4E #4ECB3F
tetradic
#3F4ECB #CB3F94 #CBBC3F #3FCB76
square
#3F4ECB #CB3F94 #CBBC3F #3FCB76
split-complementary
#3F4ECB #CB763F #94CB3F
monochromatic
#1F2771 #2C38A1 #3F4ECB #6F7AD8 #9FA7E5

Accessibility & contrast

On white

6.64
#3F4ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3F4ECB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F4ECB
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4ECB#FFFFFF#000000##FFFFFF
##3F4ECB1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#0056C9
Tritanopia (blue-blind)
#006E85
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3f4ecb;
/* rgb */ color: rgb(63, 78, 203);
/* oklch */ color: oklch(49.0% 0.192 271.9);
Tailwind
colors: {
  custom: {
    50: '#867fdc',
    500: '#3f4ecb',
    950: '#000000',
  },
}
SCSS
$custom: #3f4ecb;
$custom-light: #867fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4ecb",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 203
  },
  "hsl": {
    "h": 233.571,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49045,
    "c": 0.1923,
    "h": 271.9
  },
  "luminance": 0.10817
}

Semantic roles & 50–950 ramp

primary
#3F4ECB
secondary
#D1CB94
accent
#D047E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0A15
muted
#7D7C83

Preview Lab

Preview with #3F4ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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