#3F5FA4#3F5FA4

#3F5FA4 is a mid, moderate blue. Relative luminance 0.119; OKLCH L 49.6% C 0.117 H 263.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#3F5FA4
RGBrgb(63, 95, 164)
HSLhsl(221, 44%, 45%)
HSVhsv(221, 62%, 64%)
CMYKcmyk(61.6%, 42.1%, 0%, 35.7%)
CIE-LABlab(41.09, 10.48, -40.81)
CIE-LCHlch(41.09, 42.13, 284.41°)
OKLaboklab(49.56% -0.0124 -0.1161)
OKLCHoklch(49.56% 0.117 263.9)
XYZxyz(12.8406, 11.9204, 36.7389)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5FA4 #A4843F
analogous
#3F92A4 #3F5FA4 #523FA4
triadic
#3F5FA4 #A43F5F #5FA43F
tetradic
#3F5FA4 #A43F92 #A4843F #3FA452
square
#3F5FA4 #A43F92 #A4843F #3FA452
split-complementary
#3F5FA4 #A4523F #92A43F
monochromatic
#1D2C4C #2E4578 #3F5FA4 #5F7EC1 #8BA2D2

Accessibility & contrast

On white

6.20
#3F5FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3F5FA4
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5FA4#FFFFFF#000000##FFFFFF
##3F5FA41.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4066A7
Deuteranopia (green-blind)
#325DA3
Tritanopia (blue-blind)
#006E79
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3f5fa4;
/* rgb */ color: rgb(63, 95, 164);
/* oklch */ color: oklch(49.6% 0.117 263.9);
Tailwind
colors: {
  custom: {
    50: '#7d8cbf',
    500: '#3f5fa4',
    950: '#000000',
  },
}
SCSS
$custom: #3f5fa4;
$custom-light: #7d8cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5fa4",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 164
  },
  "hsl": {
    "h": 220.99,
    "s": 44.493,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49563,
    "c": 0.11679,
    "h": 263.9
  },
  "luminance": 0.11922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F5FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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