#3F57AA#3F57AA

#3F57AA is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.2% C 0.136 H 268.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#3F57AA
RGBrgb(63, 87, 170)
HSLhsl(227, 46%, 46%)
HSVhsv(227, 63%, 67%)
CMYKcmyk(62.9%, 48.8%, 0%, 33.3%)
CIE-LABlab(39.20, 17.77, -47.39)
CIE-LCHlch(39.20, 50.61, 290.56°)
OKLaboklab(48.23% -0.0029 -0.1356)
OKLCHoklch(48.23% 0.136 268.8)
XYZxyz(12.7113, 10.7743, 39.4322)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F57AA #AA923F
analogous
#3F8CAA #3F57AA #5C3FAA
triadic
#3F57AA #AA3F57 #57AA3F
tetradic
#3F57AA #AA3F8C #AA923F #3FAA5C
square
#3F57AA #AA3F8C #AA923F #3FAA5C
split-complementary
#3F57AA #AA5C3F #8CAA3F
monochromatic
#1E2951 #2E407D #3F57AA #6278C5 #8E9ED5

Accessibility & contrast

On white

6.66
#3F57AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3F57AA
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F57AA#FFFFFF#000000##FFFFFF
##3F57AA1.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C61AD
Deuteranopia (green-blind)
#1758A8
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3f57aa;
/* rgb */ color: rgb(63, 87, 170);
/* oklch */ color: oklch(48.2% 0.136 268.8);
Tailwind
colors: {
  custom: {
    50: '#7f86c4',
    500: '#3f57aa',
    950: '#000000',
  },
}
SCSS
$custom: #3f57aa;
$custom-light: #7f86c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f57aa",
  "rgb": {
    "r": 63,
    "g": 87,
    "b": 170
  },
  "hsl": {
    "h": 226.542,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48232,
    "c": 0.13561,
    "h": 268.8
  },
  "luminance": 0.10775
}

Semantic roles & 50–950 ramp

primary
#3F57AA
secondary
#C0B385
accent
#B852D6
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F57AA

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

Preview Lab → · Contrast checker → · Palette generator →

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