#3F56AF#3F56AF

#3F56AF is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.4% C 0.144 H 269.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#3F56AF
RGBrgb(63, 86, 175)
HSLhsl(228, 47%, 47%)
HSVhsv(228, 64%, 69%)
CMYKcmyk(64%, 50.9%, 0%, 31.4%)
CIE-LABlab(39.25, 20.20, -50.26)
CIE-LCHlch(39.25, 54.17, 291.90°)
OKLaboklab(48.38% -0.0013 -0.144)
OKLCHoklch(48.38% 0.144 269.5)
XYZxyz(13.1129, 10.8063, 41.9439)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F56AF #AF983F
analogous
#3F8EAF #3F56AF #603FAF
triadic
#3F56AF #AF3F56 #56AF3F
tetradic
#3F56AF #AF3F8E #AF983F #3FAF60
square
#3F56AF #AF3F8E #AF983F #3FAF60
split-complementary
#3F56AF #AF603F #8EAF3F
monochromatic
#1F2A55 #2F4082 #3F56AF #6478C7 #919FD7

Accessibility & contrast

On white

6.64
#3F56AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3F56AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F56AF
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F56AF#FFFFFF#000000##FFFFFF
##3F56AF1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2462B2
Deuteranopia (green-blind)
#0258AD
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3f56af;
/* rgb */ color: rgb(63, 86, 175);
/* oklch */ color: oklch(48.4% 0.144 269.5);
Tailwind
colors: {
  custom: {
    50: '#7f85c7',
    500: '#3f56af',
    950: '#000000',
  },
}
SCSS
$custom: #3f56af;
$custom-light: #7f85c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f56af",
  "rgb": {
    "r": 63,
    "g": 86,
    "b": 175
  },
  "hsl": {
    "h": 227.679,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48379,
    "c": 0.14405,
    "h": 269.5
  },
  "luminance": 0.10807
}

Semantic roles & 50–950 ramp

primary
#3F56AF
secondary
#C3B687
accent
#BB51D7
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F56AF

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

Preview Lab → · Contrast checker → · Palette generator →

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