#3F578E#3F578E

#3F578E is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.4% C 0.094 H 265.1°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#3F578E
RGBrgb(63, 87, 142)
HSLhsl(222, 39%, 40%)
HSVhsv(222, 56%, 56%)
CMYKcmyk(55.6%, 38.7%, 0%, 44.3%)
CIE-LABlab(37.53, 7.96, -33.27)
CIE-LCHlch(37.53, 34.20, 283.46°)
OKLaboklab(46.41% -0.0081 -0.0941)
OKLCHoklch(46.41% 0.094 265.1)
XYZxyz(10.3389, 9.8254, 26.9376)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F578E #8E763F
analogous
#3F7F8E #3F578E #4E3F8E
triadic
#3F578E #8E3F57 #578E3F
tetradic
#3F578E #8E3F7F #8E763F #3F8E4E
square
#3F578E #8E3F7F #8E763F #3F8E4E
split-complementary
#3F578E #8E4E3F #7F8E3F
monochromatic
#192339 #2C3D64 #3F578E #5673B4 #8196C7

Accessibility & contrast

On white

7.08
#3F578E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#3F578E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F578E
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F578E#FFFFFF#000000##FFFFFF
##3F578E1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415C90
Deuteranopia (green-blind)
#37558D
Tritanopia (blue-blind)
#13636B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3f578e;
/* rgb */ color: rgb(63, 87, 142);
/* oklch */ color: oklch(46.4% 0.094 265.1);
Tailwind
colors: {
  custom: {
    50: '#7a86af',
    500: '#3f578e',
    950: '#000000',
  },
}
SCSS
$custom: #3f578e;
$custom-light: #7a86af;
$custom-dark: #000000;
JSON
{
  "hex": "#3f578e",
  "rgb": {
    "r": 63,
    "g": 87,
    "b": 142
  },
  "hsl": {
    "h": 221.772,
    "s": 38.537,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4641,
    "c": 0.09449,
    "h": 265.1
  },
  "luminance": 0.09826
}

Semantic roles & 50–950 ramp

primary
#3F578E
secondary
#B1A078
accent
#AB59CE
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#0A0B10
muted
#7C7C7F

Preview Lab

Preview with #3F578E

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

Preview Lab → · Contrast checker → · Palette generator →

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