#3F4CBA#3F4CBA

#3F4CBA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.3% C 0.172 H 272.8°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#3F4CBA
RGBrgb(63, 76, 186)
HSLhsl(234, 49%, 49%)
HSVhsv(234, 66%, 73%)
CMYKcmyk(66.1%, 59.1%, 0%, 27.1%)
CIE-LABlab(37.43, 30.56, -59.70)
CIE-LCHlch(37.43, 67.06, 297.11°)
OKLaboklab(47.26% 0.0084 -0.1719)
OKLCHoklch(47.26% 0.172 272.8)
XYZxyz(13.4943, 9.7696, 47.6194)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4CBA #BAAD3F
analogous
#3F8ABA #3F4CBA #703FBA
triadic
#3F4CBA #BA3F4C #4CBA3F
tetradic
#3F4CBA #BA3F8A #BAAD3F #3FBA70
square
#3F4CBA #BA3F8A #BAAD3F #3FBA70
split-complementary
#3F4CBA #BA703F #8ABA3F
monochromatic
#20275F #30398C #3F4CBA #6A74CC #979FDC

Accessibility & contrast

On white

7.11
#3F4CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#3F4CBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4CBA
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4CBA#FFFFFF#000000##FFFFFF
##3F4CBA1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3f4cba;
/* rgb */ color: rgb(63, 76, 186);
/* oklch */ color: oklch(47.3% 0.172 272.8);
Tailwind
colors: {
  custom: {
    50: '#827ed0',
    500: '#3f4cba',
    950: '#000000',
  },
}
SCSS
$custom: #3f4cba;
$custom-light: #827ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4cba",
  "rgb": {
    "r": 63,
    "g": 76,
    "b": 186
  },
  "hsl": {
    "h": 233.659,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4726,
    "c": 0.17213,
    "h": 272.8
  },
  "luminance": 0.09771
}

Semantic roles & 50–950 ramp

primary
#3F4CBA
secondary
#C8C18D
accent
#CA4FD9
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3F4CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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