#3F4D95#3F4D95

#3F4D95 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.7% C 0.118 H 272.5°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#3F4D95
RGBrgb(63, 77, 149)
HSLhsl(230, 41%, 42%)
HSVhsv(230, 58%, 58%)
CMYKcmyk(57.7%, 48.3%, 0%, 41.6%)
CIE-LABlab(35.07, 16.90, -41.42)
CIE-LCHlch(35.07, 44.74, 292.20°)
OKLaboklab(44.66% 0.0051 -0.1182)
OKLCHoklch(44.66% 0.118 272.5)
XYZxyz(10.1268, 8.5337, 29.5415)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4D95 #95873F
analogous
#3F7895 #3F4D95 #5C3F95
triadic
#3F4D95 #953F4D #4D953F
tetradic
#3F4D95 #953F78 #95873F #3F955C
square
#3F4D95 #953F78 #95873F #3F955C
split-complementary
#3F4D95 #955C3F #78953F
monochromatic
#1B213F #2D376A #3F4D95 #5968B9 #848FCB

Accessibility & contrast

On white

7.76
#3F4D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3F4D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4D95
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4D95#FFFFFF#000000##FFFFFF
##3F4D951.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5698
Deuteranopia (green-blind)
#1F4F93
Tritanopia (blue-blind)
#0A5D6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f4d95;
/* rgb */ color: rgb(63, 77, 149);
/* oklch */ color: oklch(44.7% 0.118 272.5);
Tailwind
colors: {
  custom: {
    50: '#7b7eb5',
    500: '#3f4d95',
    950: '#000000',
  },
}
SCSS
$custom: #3f4d95;
$custom-light: #7b7eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4d95",
  "rgb": {
    "r": 63,
    "g": 77,
    "b": 149
  },
  "hsl": {
    "h": 230.233,
    "s": 40.566,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44659,
    "c": 0.11827,
    "h": 272.5
  },
  "luminance": 0.08534
}

Semantic roles & 50–950 ramp

primary
#3F4D95
secondary
#B5AC7B
accent
#BD57D0
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #3F4D95

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

Preview Lab → · Contrast checker → · Palette generator →

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