#3F5CAA#3F5CAA

#3F5CAA is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.3% C 0.129 H 266.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#3F5CAA
RGBrgb(63, 92, 170)
HSLhsl(224, 46%, 46%)
HSVhsv(224, 63%, 67%)
CMYKcmyk(62.9%, 45.9%, 0%, 33.3%)
CIE-LABlab(40.59, 14.54, -45.15)
CIE-LCHlch(40.59, 47.44, 287.85°)
OKLaboklab(49.3% -0.0081 -0.1289)
OKLCHoklch(49.3% 0.129 266.4)
XYZxyz(13.1303, 11.6122, 39.5718)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5CAA #AA8D3F
analogous
#3F91AA #3F5CAA #573FAA
triadic
#3F5CAA #AA3F5C #5CAA3F
tetradic
#3F5CAA #AA3F91 #AA8D3F #3FAA57
square
#3F5CAA #AA3F91 #AA8D3F #3FAA57
split-complementary
#3F5CAA #AA573F #91AA3F
monochromatic
#1E2C51 #2E447D #3F5CAA #627CC5 #8EA1D5

Accessibility & contrast

On white

6.32
#3F5CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#3F5CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5CAA
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5CAA#FFFFFF#000000##FFFFFF
##3F5CAA1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3765AD
Deuteranopia (green-blind)
#255BA8
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3f5caa;
/* rgb */ color: rgb(63, 92, 170);
/* oklch */ color: oklch(49.3% 0.129 266.4);
Tailwind
colors: {
  custom: {
    50: '#7e89c4',
    500: '#3f5caa',
    950: '#000000',
  },
}
SCSS
$custom: #3f5caa;
$custom-light: #7e89c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5caa",
  "rgb": {
    "r": 63,
    "g": 92,
    "b": 170
  },
  "hsl": {
    "h": 223.738,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49298,
    "c": 0.12918,
    "h": 266.4
  },
  "luminance": 0.11613
}

Semantic roles & 50–950 ramp

primary
#3F5CAA
secondary
#C0B085
accent
#B252D6
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F5CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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