#3F4CAC#3F4CAC

#3F4CAC is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.153 H 273.1°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#3F4CAC
RGBrgb(63, 76, 172)
HSLhsl(233, 46%, 46%)
HSVhsv(233, 63%, 67%)
CMYKcmyk(63.4%, 55.8%, 0%, 32.5%)
CIE-LABlab(36.37, 25.63, -53.13)
CIE-LCHlch(36.37, 58.99, 295.75°)
OKLaboklab(46.14% 0.0082 -0.1526)
OKLCHoklch(46.14% 0.153 273.1)
XYZxyz(12.0783, 9.2032, 40.1616)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4CAC #AC9F3F
analogous
#3F82AC #3F4CAC #683FAC
triadic
#3F4CAC #AC3F4C #4CAC3F
tetradic
#3F4CAC #AC3F82 #AC9F3F #3FAC68
square
#3F4CAC #AC3F82 #AC9F3F #3FAC68
split-complementary
#3F4CAC #AC683F #82AC3F
monochromatic
#1E2452 #2F387F #3F4CAC #636EC6 #8F98D6

Accessibility & contrast

On white

7.39
#3F4CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#3F4CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4CAC
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4CAC#FFFFFF#000000##FFFFFF
##3F4CAC1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BAF
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f4cac;
/* rgb */ color: rgb(63, 76, 172);
/* oklch */ color: oklch(46.1% 0.153 273.1);
Tailwind
colors: {
  custom: {
    50: '#7f7dc5',
    500: '#3f4cac',
    950: '#000000',
  },
}
SCSS
$custom: #3f4cac;
$custom-light: #7f7dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4cac",
  "rgb": {
    "r": 63,
    "g": 76,
    "b": 172
  },
  "hsl": {
    "h": 232.844,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46144,
    "c": 0.15284,
    "h": 273.1
  },
  "luminance": 0.09204
}

Semantic roles & 50–950 ramp

primary
#3F4CAC
secondary
#C1BA86
accent
#C652D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3F4CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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