#3F367E#3F367E

#3F367E is a dark, moderate blue. Relative luminance 0.052; OKLCH L 38.3% C 0.117 H 285.1°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#3F367E
RGBrgb(63, 54, 126)
HSLhsl(248, 40%, 35%)
HSVhsv(248, 57%, 49%)
CMYKcmyk(50%, 57.1%, 0%, 50.6%)
CIE-LABlab(27.30, 24.27, -39.72)
CIE-LCHlch(27.30, 46.55, 301.43°)
OKLaboklab(38.32% 0.0306 -0.1133)
OKLCHoklch(38.32% 0.117 285.1)
XYZxyz(7.1338, 5.2011, 20.3626)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F367E #757E36
analogous
#36517E #3F367E #63367E
triadic
#3F367E #7E3F36 #367E3F
tetradic
#3F367E #7E3651 #757E36 #367E63
square
#3F367E #7E3651 #757E36 #367E63
split-complementary
#3F367E #7E6336 #517E36
monochromatic
#141128 #2A2453 #3F367E #5448A9 #786EC1

Accessibility & contrast

On white

10.29
#3F367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3F367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F367E
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F367E#FFFFFF#000000##FFFFFF
##3F367E1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4380
Deuteranopia (green-blind)
#083E7C
Tritanopia (blue-blind)
#294654
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f367e;
/* rgb */ color: rgb(63, 54, 126);
/* oklch */ color: oklch(38.3% 0.117 285.1);
Tailwind
colors: {
  custom: {
    50: '#796da4',
    500: '#3f367e',
    950: '#000000',
  },
}
SCSS
$custom: #3f367e;
$custom-light: #796da4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f367e",
  "rgb": {
    "r": 63,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 247.5,
    "s": 40,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38319,
    "c": 0.1174,
    "h": 285.1
  },
  "luminance": 0.05201
}

Semantic roles & 50–950 ramp

primary
#3F367E
secondary
#A1A967
accent
#D058C1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #3F367E

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

Preview Lab → · Contrast checker → · Palette generator →

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