#3F5CA2#3F5CA2

#3F5CA2 is a mid, moderate blue. Relative luminance 0.113; OKLCH L 48.8% C 0.118 H 265.3°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#3F5CA2
RGBrgb(63, 92, 162)
HSLhsl(222, 44%, 44%)
HSVhsv(222, 61%, 64%)
CMYKcmyk(61.1%, 43.2%, 0%, 36.5%)
CIE-LABlab(40.11, 11.70, -41.18)
CIE-LCHlch(40.11, 42.81, 285.87°)
OKLaboklab(48.77% -0.0095 -0.1172)
OKLCHoklch(48.77% 0.118 265.3)
XYZxyz(12.3964, 11.3186, 35.7069)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5CA2 #A2853F
analogous
#3F8EA2 #3F5CA2 #543FA2
triadic
#3F5CA2 #A23F5C #5CA23F
tetradic
#3F5CA2 #A23F8E #A2853F #3FA254
square
#3F5CA2 #A23F8E #A2853F #3FA254
split-complementary
#3F5CA2 #A2543F #8EA23F
monochromatic
#1D2A4A #2E4376 #3F5CA2 #5E7BC0 #8A9FD1

Accessibility & contrast

On white

6.43
#3F5CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#3F5CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5CA2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5CA2#FFFFFF#000000##FFFFFF
##3F5CA21.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D63A5
Deuteranopia (green-blind)
#2F5AA1
Tritanopia (blue-blind)
#006C77
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3f5ca2;
/* rgb */ color: rgb(63, 92, 162);
/* oklch */ color: oklch(48.8% 0.118 265.3);
Tailwind
colors: {
  custom: {
    50: '#7d89be',
    500: '#3f5ca2',
    950: '#000000',
  },
}
SCSS
$custom: #3f5ca2;
$custom-light: #7d89be;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5ca2",
  "rgb": {
    "r": 63,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 222.424,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48773,
    "c": 0.11764,
    "h": 265.3
  },
  "luminance": 0.1132
}

Semantic roles & 50–950 ramp

primary
#3F5CA2
secondary
#BCAB81
accent
#AE54D4
background
#F8F8FB
surface
#EFF0F7
border
#CACBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3F5CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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