#3F5FAC#3F5FAC

#3F5FAC is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.1% C 0.128 H 265.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#3F5FAC
RGBrgb(63, 95, 172)
HSLhsl(222, 46%, 46%)
HSVhsv(222, 63%, 67%)
CMYKcmyk(63.4%, 44.8%, 0%, 32.5%)
CIE-LABlab(41.56, 13.32, -44.78)
CIE-LCHlch(41.56, 46.72, 286.56°)
OKLaboklab(50.08% -0.0109 -0.1278)
OKLCHoklch(50.08% 0.128 265.1)
XYZxyz(13.5859, 12.2185, 40.6642)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5FAC #AC8C3F
analogous
#3F95AC #3F5FAC #553FAC
triadic
#3F5FAC #AC3F5F #5FAC3F
tetradic
#3F5FAC #AC3F95 #AC8C3F #3FAC55
square
#3F5FAC #AC3F95 #AC8C3F #3FAC55
split-complementary
#3F5FAC #AC553F #95AC3F
monochromatic
#1E2E52 #2F467F #3F5FAC #6380C6 #8FA4D6

Accessibility & contrast

On white

6.10
#3F5FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#3F5FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5FAC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5FAC#FFFFFF#000000##FFFFFF
##3F5FAC1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B67AF
Deuteranopia (green-blind)
#2A5DAA
Tritanopia (blue-blind)
#00707D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3f5fac;
/* rgb */ color: rgb(63, 95, 172);
/* oklch */ color: oklch(50.1% 0.128 265.1);
Tailwind
colors: {
  custom: {
    50: '#7f8cc5',
    500: '#3f5fac',
    950: '#000000',
  },
}
SCSS
$custom: #3f5fac;
$custom-light: #7f8cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5fac",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 172
  },
  "hsl": {
    "h": 222.385,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50079,
    "c": 0.12827,
    "h": 265.1
  },
  "luminance": 0.1222
}

Semantic roles & 50–950 ramp

primary
#3F5FAC
secondary
#C1B086
accent
#AF52D6
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3F5FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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