#3F57AF#3F57AF

#3F57AF is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.6% C 0.143 H 269.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#3F57AF
RGBrgb(63, 87, 175)
HSLhsl(227, 47%, 47%)
HSVhsv(227, 64%, 69%)
CMYKcmyk(64%, 50.3%, 0%, 31.4%)
CIE-LABlab(39.52, 19.55, -49.82)
CIE-LCHlch(39.52, 53.52, 291.43°)
OKLaboklab(48.59% -0.0023 -0.1427)
OKLCHoklch(48.59% 0.143 269.1)
XYZxyz(13.1933, 10.9671, 41.9707)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F57AF #AF973F
analogous
#3F8FAF #3F57AF #5F3FAF
triadic
#3F57AF #AF3F57 #57AF3F
tetradic
#3F57AF #AF3F8F #AF973F #3FAF5F
square
#3F57AF #AF3F8F #AF973F #3FAF5F
split-complementary
#3F57AF #AF5F3F #8FAF3F
monochromatic
#1F2A55 #2F4182 #3F57AF #6479C7 #91A0D7

Accessibility & contrast

On white

6.58
#3F57AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3F57AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F57AF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F57AF#FFFFFF#000000##FFFFFF
##3F57AF1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2762B2
Deuteranopia (green-blind)
#0858AD
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3f57af;
/* rgb */ color: rgb(63, 87, 175);
/* oklch */ color: oklch(48.6% 0.143 269.1);
Tailwind
colors: {
  custom: {
    50: '#7f86c7',
    500: '#3f57af',
    950: '#000000',
  },
}
SCSS
$custom: #3f57af;
$custom-light: #7f86c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f57af",
  "rgb": {
    "r": 63,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 227.143,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48586,
    "c": 0.14275,
    "h": 269.1
  },
  "luminance": 0.10968
}

Semantic roles & 50–950 ramp

primary
#3F57AF
secondary
#C3B687
accent
#BA51D7
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F57AF

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

Preview Lab → · Contrast checker → · Palette generator →

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