#3F57BA#3F57BA

#3F57BA is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.4% C 0.158 H 269.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#3F57BA
RGBrgb(63, 87, 186)
HSLhsl(228, 49%, 49%)
HSVhsv(228, 66%, 73%)
CMYKcmyk(66.1%, 53.2%, 0%, 27.1%)
CIE-LABlab(40.27, 23.48, -55.08)
CIE-LCHlch(40.27, 59.88, 293.09°)
OKLaboklab(49.39% -0.0013 -0.1582)
OKLCHoklch(49.39% 0.158 269.5)
XYZxyz(14.3180, 11.4170, 47.8940)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F57BA #BAA23F
analogous
#3F95BA #3F57BA #653FBA
triadic
#3F57BA #BA3F57 #57BA3F
tetradic
#3F57BA #BA3F95 #BAA23F #3FBA65
square
#3F57BA #BA3F95 #BAA23F #3FBA65
split-complementary
#3F57BA #BA653F #95BA3F
monochromatic
#202C5F #30428C #3F57BA #6A7DCC #97A5DC

Accessibility & contrast

On white

6.40
#3F57BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#3F57BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F57BA
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F57BA#FFFFFF#000000##FFFFFF
##3F57BA1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1565BD
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3f57ba;
/* rgb */ color: rgb(63, 87, 186);
/* oklch */ color: oklch(49.4% 0.158 269.5);
Tailwind
colors: {
  custom: {
    50: '#8286cf',
    500: '#3f57ba',
    950: '#000000',
  },
}
SCSS
$custom: #3f57ba;
$custom-light: #8286cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f57ba",
  "rgb": {
    "r": 63,
    "g": 87,
    "b": 186
  },
  "hsl": {
    "h": 228.293,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49392,
    "c": 0.15821,
    "h": 269.5
  },
  "luminance": 0.11418
}

Semantic roles & 50–950 ramp

primary
#3F57BA
secondary
#C8BC8D
accent
#BE4FD9
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #3F57BA

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

Preview Lab → · Contrast checker → · Palette generator →

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