#3F4DCB#3F4DCB

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

Color values

HEX#3F4DCB
RGBrgb(63, 77, 203)
HSLhsl(234, 57%, 52%)
HSVhsv(234, 69%, 80%)
CMYKcmyk(69%, 62.1%, 0%, 20.4%)
CIE-LABlab(39.03, 35.86, -67.00)
CIE-LCHlch(39.03, 76.00, 298.16°)
OKLaboklab(48.87% 0.0073 -0.1934)
OKLCHoklch(48.87% 0.194 272.2)
XYZxyz(15.4796, 10.6748, 57.7330)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4DCB #CBBD3F
analogous
#3F93CB #3F4DCB #773FCB
triadic
#3F4DCB #CB3F4D #4DCB3F
tetradic
#3F4DCB #CB3F93 #CBBD3F #3FCB77
square
#3F4DCB #CB3F93 #CBBD3F #3FCB77
split-complementary
#3F4DCB #CB773F #93CB3F
monochromatic
#1F2771 #2C37A1 #3F4DCB #6F7AD8 #9FA6E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F4DCB#FFFFFF#000000##FFFFFF
##3F4DCB1.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)
#0062CF
Deuteranopia (green-blind)
#0056C9
Tritanopia (blue-blind)
#006D85
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3f4dcb;
/* rgb */ color: rgb(63, 77, 203);
/* oklch */ color: oklch(48.9% 0.194 272.2);
Tailwind
colors: {
  custom: {
    50: '#867fdc',
    500: '#3f4dcb',
    950: '#000000',
  },
}
SCSS
$custom: #3f4dcb;
$custom-light: #867fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4dcb",
  "rgb": {
    "r": 63,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 234,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48867,
    "c": 0.1935,
    "h": 272.2
  },
  "luminance": 0.10676
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F4DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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