#3F579D#3F579D

#3F579D is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.4% C 0.117 H 267.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#3F579D
RGBrgb(63, 87, 157)
HSLhsl(225, 43%, 43%)
HSVhsv(225, 60%, 62%)
CMYKcmyk(59.9%, 44.6%, 0%, 38.4%)
CIE-LABlab(38.39, 13.17, -40.94)
CIE-LCHlch(38.39, 43.01, 287.83°)
OKLaboklab(47.35% -0.0049 -0.1166)
OKLCHoklch(47.35% 0.117 267.6)
XYZxyz(11.5418, 10.3065, 33.2729)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F579D #9D853F
analogous
#3F869D #3F579D #563F9D
triadic
#3F579D #9D3F57 #579D3F
tetradic
#3F579D #9D3F86 #9D853F #3F9D56
square
#3F579D #9D3F86 #9D853F #3F9D56
split-complementary
#3F579D #9D563F #869D3F
monochromatic
#1C2746 #2D3F71 #3F579D #5C75BD #879ACF

Accessibility & contrast

On white

6.86
#3F579D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3F579D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F579D
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F579D#FFFFFF#000000##FFFFFF
##3F579D1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375FA0
Deuteranopia (green-blind)
#2A569C
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3f579d;
/* rgb */ color: rgb(63, 87, 157);
/* oklch */ color: oklch(47.4% 0.117 267.6);
Tailwind
colors: {
  custom: {
    50: '#7c86ba',
    500: '#3f579d',
    950: '#000000',
  },
}
SCSS
$custom: #3f579d;
$custom-light: #7c86ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3f579d",
  "rgb": {
    "r": 63,
    "g": 87,
    "b": 157
  },
  "hsl": {
    "h": 224.681,
    "s": 42.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47351,
    "c": 0.11673,
    "h": 267.6
  },
  "luminance": 0.10307
}

Semantic roles & 50–950 ramp

primary
#3F579D
secondary
#BAAA7E
accent
#B355D3
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3F579D

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

Preview Lab → · Contrast checker → · Palette generator →

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