#3F5FA2#3F5FA2

#3F5FA2 is a mid, moderate blue. Relative luminance 0.118; OKLCH L 49.4% C 0.114 H 263.5°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#3F5FA2
RGBrgb(63, 95, 162)
HSLhsl(221, 44%, 44%)
HSVhsv(221, 61%, 64%)
CMYKcmyk(61.1%, 41.4%, 0%, 36.5%)
CIE-LABlab(40.97, 9.78, -39.80)
CIE-LCHlch(40.97, 40.99, 283.80°)
OKLaboklab(49.44% -0.0128 -0.1132)
OKLCHoklch(49.44% 0.114 263.5)
XYZxyz(12.6614, 11.8487, 35.7952)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5FA2 #A2823F
analogous
#3F91A2 #3F5FA2 #513FA2
triadic
#3F5FA2 #A23F5F #5FA23F
tetradic
#3F5FA2 #A23F91 #A2823F #3FA251
square
#3F5FA2 #A23F91 #A2823F #3FA251
split-complementary
#3F5FA2 #A2513F #91A23F
monochromatic
#1D2B4A #2E4576 #3F5FA2 #5E7EC0 #8AA1D1

Accessibility & contrast

On white

6.23
#3F5FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#3F5FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5FA2
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5FA2#FFFFFF#000000##FFFFFF
##3F5FA21.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4266A5
Deuteranopia (green-blind)
#345CA1
Tritanopia (blue-blind)
#006E78
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3f5fa2;
/* rgb */ color: rgb(63, 95, 162);
/* oklch */ color: oklch(49.4% 0.114 263.5);
Tailwind
colors: {
  custom: {
    50: '#7d8cbe',
    500: '#3f5fa2',
    950: '#000000',
  },
}
SCSS
$custom: #3f5fa2;
$custom-light: #7d8cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5fa2",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 220.606,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49438,
    "c": 0.11392,
    "h": 263.5
  },
  "luminance": 0.1185
}

Semantic roles & 50–950 ramp

primary
#3F5FA2
secondary
#BCA981
accent
#AA54D4
background
#F8F8FB
surface
#EFF0F7
border
#CACBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3F5FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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