#3F56B2#3F56B2

#3F56B2 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.6% C 0.148 H 269.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#3F56B2
RGBrgb(63, 86, 178)
HSLhsl(228, 48%, 47%)
HSVhsv(228, 65%, 70%)
CMYKcmyk(64.6%, 51.7%, 0%, 30.2%)
CIE-LABlab(39.45, 21.27, -51.70)
CIE-LCHlch(39.45, 55.91, 292.36°)
OKLaboklab(48.6% -0.001 -0.1483)
OKLCHoklch(48.6% 0.148 269.6)
XYZxyz(13.4108, 10.9255, 43.5129)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F56B2 #B29B3F
analogous
#3F90B2 #3F56B2 #623FB2
triadic
#3F56B2 #B23F56 #56B23F
tetradic
#3F56B2 #B23F90 #B29B3F #3FB262
square
#3F56B2 #B23F90 #B29B3F #3FB262
split-complementary
#3F56B2 #B2623F #90B23F
monochromatic
#1F2A58 #2F4085 #3F56B2 #6679C9 #93A1D9

Accessibility & contrast

On white

6.59
#3F56B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3F56B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F56B2
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F56B2#FFFFFF#000000##FFFFFF
##3F56B21.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2062B5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#006B7C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3f56b2;
/* rgb */ color: rgb(63, 86, 178);
/* oklch */ color: oklch(48.6% 0.148 269.6);
Tailwind
colors: {
  custom: {
    50: '#8085ca',
    500: '#3f56b2',
    950: '#000000',
  },
}
SCSS
$custom: #3f56b2;
$custom-light: #8085ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f56b2",
  "rgb": {
    "r": 63,
    "g": 86,
    "b": 178
  },
  "hsl": {
    "h": 228,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48597,
    "c": 0.14828,
    "h": 269.6
  },
  "luminance": 0.10927
}

Semantic roles & 50–950 ramp

primary
#3F56B2
secondary
#C4B889
accent
#BC50D7
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F56B2

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

Preview Lab → · Contrast checker → · Palette generator →

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