#3F5792#3F5792

#3F5792 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.7% C 0.100 H 265.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#3F5792
RGBrgb(63, 87, 146)
HSLhsl(223, 40%, 41%)
HSVhsv(223, 57%, 57%)
CMYKcmyk(56.8%, 40.4%, 0%, 42.7%)
CIE-LABlab(37.75, 9.34, -35.34)
CIE-LCHlch(37.75, 36.55, 284.80°)
OKLaboklab(46.65% -0.0071 -0.1002)
OKLCHoklch(46.65% 0.1 265.9)
XYZxyz(10.6447, 9.9477, 28.5477)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5792 #927A3F
analogous
#3F8092 #3F5792 #503F92
triadic
#3F5792 #923F57 #57923F
tetradic
#3F5792 #923F80 #927A3F #3F9250
square
#3F5792 #923F80 #927A3F #3F9250
split-complementary
#3F5792 #92503F #80923F
monochromatic
#1A243C #2D3E67 #3F5792 #5773B7 #8297C9

Accessibility & contrast

On white

7.02
#3F5792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3F5792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5792
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5792#FFFFFF#000000##FFFFFF
##3F57921.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5D94
Deuteranopia (green-blind)
#345591
Tritanopia (blue-blind)
#0C646D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3f5792;
/* rgb */ color: rgb(63, 87, 146);
/* oklch */ color: oklch(46.7% 0.100 265.9);
Tailwind
colors: {
  custom: {
    50: '#7b86b2',
    500: '#3f5792',
    950: '#000000',
  },
}
SCSS
$custom: #3f5792;
$custom-light: #7b86b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5792",
  "rgb": {
    "r": 63,
    "g": 87,
    "b": 146
  },
  "hsl": {
    "h": 222.651,
    "s": 39.713,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46653,
    "c": 0.10045,
    "h": 265.9
  },
  "luminance": 0.09948
}

Semantic roles & 50–950 ramp

primary
#3F5792
secondary
#B3A379
accent
#AD58D0
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #3F5792

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

Preview Lab → · Contrast checker → · Palette generator →

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