#3F5EA3#3F5EA3

#3F5EA3 is a mid, moderate blue. Relative luminance 0.117; OKLCH L 49.3% C 0.117 H 264.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#3F5EA3
RGBrgb(63, 94, 163)
HSLhsl(221, 44%, 44%)
HSVhsv(221, 61%, 64%)
CMYKcmyk(61.3%, 42.3%, 0%, 36.1%)
CIE-LABlab(40.74, 10.77, -40.76)
CIE-LCHlch(40.74, 42.16, 284.80°)
OKLaboklab(49.28% -0.0115 -0.116)
OKLCHoklch(49.28% 0.117 264.3)
XYZxyz(12.6612, 11.7054, 36.2354)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5EA3 #A3843F
analogous
#3F90A3 #3F5EA3 #523FA3
triadic
#3F5EA3 #A33F5E #5EA33F
tetradic
#3F5EA3 #A33F90 #A3843F #3FA352
square
#3F5EA3 #A33F90 #A3843F #3FA352
split-complementary
#3F5EA3 #A3523F #90A33F
monochromatic
#1D2B4B #2E4577 #3F5EA3 #5E7DC1 #8AA1D2

Accessibility & contrast

On white

6.28
#3F5EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#3F5EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5EA3
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5EA3#FFFFFF#000000##FFFFFF
##3F5EA31.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F65A6
Deuteranopia (green-blind)
#315CA2
Tritanopia (blue-blind)
#006D78
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3f5ea3;
/* rgb */ color: rgb(63, 94, 163);
/* oklch */ color: oklch(49.3% 0.117 264.3);
Tailwind
colors: {
  custom: {
    50: '#7d8bbf',
    500: '#3f5ea3',
    950: '#000000',
  },
}
SCSS
$custom: #3f5ea3;
$custom-light: #7d8bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5ea3",
  "rgb": {
    "r": 63,
    "g": 94,
    "b": 163
  },
  "hsl": {
    "h": 221.4,
    "s": 44.248,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49278,
    "c": 0.11659,
    "h": 264.3
  },
  "luminance": 0.11707
}

Semantic roles & 50–950 ramp

primary
#3F5EA3
secondary
#BDAA81
accent
#AC54D4
background
#F8F8FB
surface
#EFF0F7
border
#CACBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3F5EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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