#3F579E#3F579E

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

Color values

HEX#3F579E
RGBrgb(63, 87, 158)
HSLhsl(225, 43%, 43%)
HSVhsv(225, 60%, 62%)
CMYKcmyk(60.1%, 44.9%, 0%, 38%)
CIE-LABlab(38.45, 13.52, -41.44)
CIE-LCHlch(38.45, 43.60, 288.07°)
OKLaboklab(47.42% -0.0047 -0.1181)
OKLCHoklch(47.42% 0.118 267.7)
XYZxyz(11.6276, 10.3408, 33.7244)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F579E #9E863F
analogous
#3F869E #3F579E #563F9E
triadic
#3F579E #9E3F57 #579E3F
tetradic
#3F579E #9E3F86 #9E863F #3F9E56
square
#3F579E #9E3F86 #9E863F #3F9E56
split-complementary
#3F579E #9E563F #869E3F
monochromatic
#1C2746 #2E3F72 #3F579E #5C75BE #889AD0

Accessibility & contrast

On white

6.84
#3F579E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#3F579E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F579E
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F579E#FFFFFF#000000##FFFFFF
##3F579E1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375FA1
Deuteranopia (green-blind)
#29579C
Tritanopia (blue-blind)
#006773
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3f579e;
/* rgb */ color: rgb(63, 87, 158);
/* oklch */ color: oklch(47.4% 0.118 267.7);
Tailwind
colors: {
  custom: {
    50: '#7c86bb',
    500: '#3f579e',
    950: '#000000',
  },
}
SCSS
$custom: #3f579e;
$custom-light: #7c86bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f579e",
  "rgb": {
    "r": 63,
    "g": 87,
    "b": 158
  },
  "hsl": {
    "h": 224.842,
    "s": 42.986,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47417,
    "c": 0.1182,
    "h": 267.7
  },
  "luminance": 0.10342
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F579E

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

Preview Lab → · Contrast checker → · Palette generator →

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