#3F367D#3F367D

#3F367D is a dark, moderate blue. Relative luminance 0.052; OKLCH L 38.2% C 0.116 H 285.3°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#3F367D
RGBrgb(63, 54, 125)
HSLhsl(248, 40%, 35%)
HSVhsv(248, 57%, 49%)
CMYKcmyk(49.6%, 56.8%, 0%, 51%)
CIE-LABlab(27.23, 23.94, -39.20)
CIE-LCHlch(27.23, 45.94, 301.42°)
OKLaboklab(38.24% 0.0306 -0.1118)
OKLCHoklch(38.24% 0.116 285.3)
XYZxyz(7.0696, 5.1754, 20.0245)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F367D #747D36
analogous
#36507D #3F367D #63367D
triadic
#3F367D #7D3F36 #367D3F
tetradic
#3F367D #7D3650 #747D36 #367D63
square
#3F367D #7D3650 #747D36 #367D63
split-complementary
#3F367D #7D6336 #507D36
monochromatic
#141128 #292452 #3F367D #5548A8 #786DC0

Accessibility & contrast

On white

10.32
#3F367D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F367D
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F367D#FFFFFF#000000##FFFFFF
##3F367D1.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E427F
Deuteranopia (green-blind)
#0B3E7B
Tritanopia (blue-blind)
#2A4654
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f367d;
/* rgb */ color: rgb(63, 54, 125);
/* oklch */ color: oklch(38.2% 0.116 285.3);
Tailwind
colors: {
  custom: {
    50: '#796da3',
    500: '#3f367d',
    950: '#000000',
  },
}
SCSS
$custom: #3f367d;
$custom-light: #796da3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f367d",
  "rgb": {
    "r": 63,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 247.606,
    "s": 39.665,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38244,
    "c": 0.11593,
    "h": 285.3
  },
  "luminance": 0.05176
}

Semantic roles & 50–950 ramp

primary
#3F367D
secondary
#A0A966
accent
#D058C0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #3F367D

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

Preview Lab → · Contrast checker → · Palette generator →

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