#3F5995#3F5995

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

Color values

HEX#3F5995
RGBrgb(63, 89, 149)
HSLhsl(222, 41%, 42%)
HSVhsv(222, 58%, 58%)
CMYKcmyk(57.7%, 40.3%, 0%, 41.6%)
CIE-LABlab(38.50, 9.08, -35.96)
CIE-LCHlch(38.50, 37.09, 284.18°)
OKLaboklab(47.29% -0.0088 -0.102)
OKLCHoklch(47.29% 0.102 265.1)
XYZxyz(11.0453, 10.3706, 29.8476)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5995 #957B3F
analogous
#3F8495 #3F5995 #503F95
triadic
#3F5995 #953F59 #59953F
tetradic
#3F5995 #953F84 #957B3F #3F9550
square
#3F5995 #953F84 #957B3F #3F9550
split-complementary
#3F5995 #95503F #84953F
monochromatic
#1B263F #2D3F6A #3F5995 #5976B9 #8499CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F5995#FFFFFF#000000##FFFFFF
##3F59951.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405F97
Deuteranopia (green-blind)
#355794
Tritanopia (blue-blind)
#036670
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3f5995;
/* rgb */ color: rgb(63, 89, 149);
/* oklch */ color: oklch(47.3% 0.102 265.1);
Tailwind
colors: {
  custom: {
    50: '#7b87b4',
    500: '#3f5995',
    950: '#000000',
  },
}
SCSS
$custom: #3f5995;
$custom-light: #7b87b4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5995",
  "rgb": {
    "r": 63,
    "g": 89,
    "b": 149
  },
  "hsl": {
    "h": 221.86,
    "s": 40.566,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47287,
    "c": 0.10237,
    "h": 265.1
  },
  "luminance": 0.10371
}

Semantic roles & 50–950 ramp

primary
#3F5995
secondary
#B5A37B
accent
#AC57D0
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #3F5995

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

Preview Lab → · Contrast checker → · Palette generator →

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