#3F579F#3F579F

#3F579F is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.5% C 0.120 H 267.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#3F579F
RGBrgb(63, 87, 159)
HSLhsl(225, 43%, 44%)
HSVhsv(225, 60%, 62%)
CMYKcmyk(60.4%, 45.3%, 0%, 37.6%)
CIE-LABlab(38.51, 13.88, -41.95)
CIE-LCHlch(38.51, 44.18, 288.30°)
OKLaboklab(47.48% -0.0046 -0.1196)
OKLCHoklch(47.48% 0.12 267.8)
XYZxyz(11.7140, 10.3754, 34.1795)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F579F #9F873F
analogous
#3F879F #3F579F #573F9F
triadic
#3F579F #9F3F57 #579F3F
tetradic
#3F579F #9F3F87 #9F873F #3F9F57
square
#3F579F #9F3F87 #9F873F #3F9F57
split-complementary
#3F579F #9F573F #879F3F
monochromatic
#1C2747 #2E3F73 #3F579F #5D75BF #889AD0

Accessibility & contrast

On white

6.83
#3F579F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3F579F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F579F
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F579F#FFFFFF#000000##FFFFFF
##3F579F1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365FA2
Deuteranopia (green-blind)
#28579D
Tritanopia (blue-blind)
#006773
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3f579f;
/* rgb */ color: rgb(63, 87, 159);
/* oklch */ color: oklch(47.5% 0.120 267.8);
Tailwind
colors: {
  custom: {
    50: '#7d86bc',
    500: '#3f579f',
    950: '#000000',
  },
}
SCSS
$custom: #3f579f;
$custom-light: #7d86bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f579f",
  "rgb": {
    "r": 63,
    "g": 87,
    "b": 159
  },
  "hsl": {
    "h": 225,
    "s": 43.243,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47483,
    "c": 0.11967,
    "h": 267.8
  },
  "luminance": 0.10376
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F579F

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

Preview Lab → · Contrast checker → · Palette generator →

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