#3F56CB#3F56CB

#3F56CB is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.5% C 0.183 H 270.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#3F56CB
RGBrgb(63, 86, 203)
HSLhsl(230, 57%, 52%)
HSVhsv(230, 69%, 80%)
CMYKcmyk(69%, 57.6%, 0%, 20.4%)
CIE-LABlab(41.25, 30.18, -63.38)
CIE-LCHlch(41.25, 70.20, 295.46°)
OKLaboklab(50.52% 0.0004 -0.1826)
OKLCHoklch(50.52% 0.183 270.1)
XYZxyz(16.1535, 12.0226, 57.9576)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F56CB #CBB43F
analogous
#3F9CCB #3F56CB #6E3FCB
triadic
#3F56CB #CB3F56 #56CB3F
tetradic
#3F56CB #CB3F9C #CBB43F #3FCB6E
square
#3F56CB #CB3F9C #CBB43F #3FCB6E
split-complementary
#3F56CB #CB6E3F #9CCB3F
monochromatic
#1F2C71 #2C3FA1 #3F56CB #6F80D8 #9FABE5

Accessibility & contrast

On white

6.17
#3F56CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#3F56CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F56CB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F56CB#FFFFFF#000000##FFFFFF
##3F56CB1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3f56cb;
/* rgb */ color: rgb(63, 86, 203);
/* oklch */ color: oklch(50.5% 0.183 270.1);
Tailwind
colors: {
  custom: {
    50: '#8585dc',
    500: '#3f56cb',
    950: '#000000',
  },
}
SCSS
$custom: #3f56cb;
$custom-light: #8585dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f56cb",
  "rgb": {
    "r": 63,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 230.143,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50516,
    "c": 0.18262,
    "h": 270.1
  },
  "luminance": 0.12024
}

Semantic roles & 50–950 ramp

primary
#3F56CB
secondary
#D1C794
accent
#C747E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F56CB

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

Preview Lab → · Contrast checker → · Palette generator →

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