#3F5FA3#3F5FA3

#3F5FA3 is a mid, moderate blue. Relative luminance 0.119; OKLCH L 49.5% C 0.115 H 263.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#3F5FA3
RGBrgb(63, 95, 163)
HSLhsl(221, 44%, 44%)
HSVhsv(221, 61%, 64%)
CMYKcmyk(61.3%, 41.7%, 0%, 36.1%)
CIE-LABlab(41.03, 10.13, -40.30)
CIE-LCHlch(41.03, 41.56, 284.11°)
OKLaboklab(49.5% -0.0126 -0.1147)
OKLCHoklch(49.5% 0.115 263.7)
XYZxyz(12.7507, 11.8844, 36.2652)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5FA3 #A3833F
analogous
#3F91A3 #3F5FA3 #513FA3
triadic
#3F5FA3 #A33F5F #5FA33F
tetradic
#3F5FA3 #A33F91 #A3833F #3FA351
square
#3F5FA3 #A33F91 #A3833F #3FA351
split-complementary
#3F5FA3 #A3513F #91A33F
monochromatic
#1D2C4B #2E4577 #3F5FA3 #5E7EC1 #8AA1D2

Accessibility & contrast

On white

6.22
#3F5FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#3F5FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5FA3
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5FA3#FFFFFF#000000##FFFFFF
##3F5FA31.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4166A6
Deuteranopia (green-blind)
#335DA2
Tritanopia (blue-blind)
#006E79
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3f5fa3;
/* rgb */ color: rgb(63, 95, 163);
/* oklch */ color: oklch(49.5% 0.115 263.7);
Tailwind
colors: {
  custom: {
    50: '#7d8cbe',
    500: '#3f5fa3',
    950: '#000000',
  },
}
SCSS
$custom: #3f5fa3;
$custom-light: #7d8cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5fa3",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 163
  },
  "hsl": {
    "h": 220.8,
    "s": 44.248,
    "l": 44.314
  },
  "oklch": {
    "l": 0.495,
    "c": 0.11535,
    "h": 263.7
  },
  "luminance": 0.11886
}

Semantic roles & 50–950 ramp

primary
#3F5FA3
secondary
#BDAA81
accent
#AB54D4
background
#F8F8FB
surface
#EFF0F7
border
#CACBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3F5FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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