#3F5EA2#3F5EA2

#3F5EA2 is a mid, moderate blue. Relative luminance 0.117; OKLCH L 49.2% C 0.115 H 264.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#3F5EA2
RGBrgb(63, 94, 162)
HSLhsl(221, 44%, 44%)
HSVhsv(221, 61%, 64%)
CMYKcmyk(61.1%, 42%, 0%, 36.5%)
CIE-LABlab(40.69, 10.42, -40.26)
CIE-LCHlch(40.69, 41.59, 284.51°)
OKLaboklab(49.22% -0.0117 -0.1145)
OKLCHoklch(49.22% 0.115 264.1)
XYZxyz(12.5719, 11.6697, 35.7654)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5EA2 #A2833F
analogous
#3F90A2 #3F5EA2 #523FA2
triadic
#3F5EA2 #A23F5E #5EA23F
tetradic
#3F5EA2 #A23F90 #A2833F #3FA252
square
#3F5EA2 #A23F90 #A2833F #3FA252
split-complementary
#3F5EA2 #A2523F #90A23F
monochromatic
#1D2B4A #2E4476 #3F5EA2 #5E7DC0 #8AA0D1

Accessibility & contrast

On white

6.30
#3F5EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#3F5EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5EA2
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5EA2#FFFFFF#000000##FFFFFF
##3F5EA21.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4065A5
Deuteranopia (green-blind)
#325CA1
Tritanopia (blue-blind)
#006D78
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3f5ea2;
/* rgb */ color: rgb(63, 94, 162);
/* oklch */ color: oklch(49.2% 0.115 264.1);
Tailwind
colors: {
  custom: {
    50: '#7d8bbe',
    500: '#3f5ea2',
    950: '#000000',
  },
}
SCSS
$custom: #3f5ea2;
$custom-light: #7d8bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5ea2",
  "rgb": {
    "r": 63,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 221.212,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49215,
    "c": 0.11514,
    "h": 264.1
  },
  "luminance": 0.11671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F5EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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