#3F57CA#3F57CA

#3F57CA is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.6% C 0.180 H 269.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#3F57CA
RGBrgb(63, 87, 202)
HSLhsl(230, 57%, 52%)
HSVhsv(230, 69%, 79%)
CMYKcmyk(68.8%, 56.9%, 0%, 20.8%)
CIE-LABlab(41.43, 29.19, -62.51)
CIE-LCHlch(41.43, 68.99, 295.03°)
OKLaboklab(50.63% -0.0005 -0.18)
OKLCHoklch(50.63% 0.18 269.9)
XYZxyz(16.1151, 12.1358, 57.3588)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F57CA #CAB23F
analogous
#3F9DCA #3F57CA #6C3FCA
triadic
#3F57CA #CA3F57 #57CA3F
tetradic
#3F57CA #CA3F9D #CAB23F #3FCA6C
square
#3F57CA #CA3F9D #CAB23F #3FCA6C
split-complementary
#3F57CA #CA6C3F #9DCA3F
monochromatic
#1F2D70 #2C40A0 #3F57CA #6F81D7 #9FABE4

Accessibility & contrast

On white

6.13
#3F57CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#3F57CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F57CA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F57CA#FFFFFF#000000##FFFFFF
##3F57CA1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3f57ca;
/* rgb */ color: rgb(63, 87, 202);
/* oklch */ color: oklch(50.6% 0.180 269.9);
Tailwind
colors: {
  custom: {
    50: '#8586db',
    500: '#3f57ca',
    950: '#000000',
  },
}
SCSS
$custom: #3f57ca;
$custom-light: #8586db;
$custom-dark: #000000;
JSON
{
  "hex": "#3f57ca",
  "rgb": {
    "r": 63,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 229.64,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50626,
    "c": 0.18005,
    "h": 269.9
  },
  "luminance": 0.12137
}

Semantic roles & 50–950 ramp

primary
#3F57CA
secondary
#D1C694
accent
#C648E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F57CA

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

Preview Lab → · Contrast checker → · Palette generator →

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