#3F4CAB#3F4CAB

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

Color values

HEX#3F4CAB
RGBrgb(63, 76, 171)
HSLhsl(233, 46%, 46%)
HSVhsv(233, 63%, 67%)
CMYKcmyk(63.2%, 55.6%, 0%, 32.9%)
CIE-LABlab(36.30, 25.28, -52.66)
CIE-LCHlch(36.30, 58.41, 295.65°)
OKLaboklab(46.07% 0.0081 -0.1512)
OKLCHoklch(46.07% 0.151 273.1)
XYZxyz(11.9826, 9.1649, 39.6577)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4CAB #AB9E3F
analogous
#3F82AB #3F4CAB #683FAB
triadic
#3F4CAB #AB3F4C #4CAB3F
tetradic
#3F4CAB #AB3F82 #AB9E3F #3FAB68
square
#3F4CAB #AB3F82 #AB9E3F #3FAB68
split-complementary
#3F4CAB #AB683F #82AB3F
monochromatic
#1E2452 #2F387E #3F4CAB #626EC5 #8F97D6

Accessibility & contrast

On white

7.41
#3F4CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3F4CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4CAB
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4CAB#FFFFFF#000000##FFFFFF
##3F4CAB1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015AAE
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3f4cab;
/* rgb */ color: rgb(63, 76, 171);
/* oklch */ color: oklch(46.1% 0.151 273.1);
Tailwind
colors: {
  custom: {
    50: '#7f7dc5',
    500: '#3f4cab',
    950: '#000000',
  },
}
SCSS
$custom: #3f4cab;
$custom-light: #7f7dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4cab",
  "rgb": {
    "r": 63,
    "g": 76,
    "b": 171
  },
  "hsl": {
    "h": 232.778,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46066,
    "c": 0.15144,
    "h": 273.1
  },
  "luminance": 0.09166
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F4CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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