#3F56CA#3F56CA

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

Color values

HEX#3F56CA
RGBrgb(63, 86, 202)
HSLhsl(230, 57%, 52%)
HSVhsv(230, 69%, 79%)
CMYKcmyk(68.8%, 57.4%, 0%, 20.8%)
CIE-LABlab(41.18, 29.83, -62.92)
CIE-LCHlch(41.18, 69.63, 295.36°)
OKLaboklab(50.44% 0.0003 -0.1813)
OKLCHoklch(50.44% 0.181 270.1)
XYZxyz(16.0347, 11.9750, 57.3320)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F56CA #CAB33F
analogous
#3F9CCA #3F56CA #6E3FCA
triadic
#3F56CA #CA3F56 #56CA3F
tetradic
#3F56CA #CA3F9C #CAB33F #3FCA6E
square
#3F56CA #CA3F9C #CAB33F #3FCA6E
split-complementary
#3F56CA #CA6E3F #9CCA3F
monochromatic
#1F2C70 #2C3FA0 #3F56CA #6F80D7 #9FAAE4

Accessibility & contrast

On white

6.18
#3F56CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3F56CA
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F56CA#FFFFFF#000000##FFFFFF
##3F56CA1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3f56ca;
/* rgb */ color: rgb(63, 86, 202);
/* oklch */ color: oklch(50.4% 0.181 270.1);
Tailwind
colors: {
  custom: {
    50: '#8585db',
    500: '#3f56ca',
    950: '#000000',
  },
}
SCSS
$custom: #3f56ca;
$custom-light: #8585db;
$custom-dark: #000000;
JSON
{
  "hex": "#3f56ca",
  "rgb": {
    "r": 63,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 230.072,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50436,
    "c": 0.18128,
    "h": 270.1
  },
  "luminance": 0.11977
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F56CA

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

Preview Lab → · Contrast checker → · Palette generator →

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