#3F367B#3F367B

#3F367B is a dark, moderate blue. Relative luminance 0.051; OKLCH L 38.1% C 0.113 H 285.7°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#3F367B
RGBrgb(63, 54, 123)
HSLhsl(248, 39%, 35%)
HSVhsv(248, 56%, 48%)
CMYKcmyk(48.8%, 56.1%, 0%, 51.8%)
CIE-LABlab(27.09, 23.29, -38.17)
CIE-LCHlch(27.09, 44.72, 301.39°)
OKLaboklab(38.09% 0.0305 -0.1088)
OKLCHoklch(38.09% 0.113 285.7)
XYZxyz(6.9432, 5.1248, 19.3584)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F367B #727B36
analogous
#36507B #3F367B #62367B
triadic
#3F367B #7B3F36 #367B3F
tetradic
#3F367B #7B3650 #727B36 #367B62
square
#3F367B #7B3650 #727B36 #367B62
split-complementary
#3F367B #7B6236 #507B36
monochromatic
#131126 #292350 #3F367B #5549A6 #776DBF

Accessibility & contrast

On white

10.37
#3F367B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3F367B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F367B
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F367B#FFFFFF#000000##FFFFFF
##3F367B1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11427D
Deuteranopia (green-blind)
#0F3E79
Tritanopia (blue-blind)
#2B4553
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f367b;
/* rgb */ color: rgb(63, 54, 123);
/* oklch */ color: oklch(38.1% 0.113 285.7);
Tailwind
colors: {
  custom: {
    50: '#796da2',
    500: '#3f367b',
    950: '#000000',
  },
}
SCSS
$custom: #3f367b;
$custom-light: #796da2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f367b",
  "rgb": {
    "r": 63,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 247.826,
    "s": 38.983,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38093,
    "c": 0.11298,
    "h": 285.7
  },
  "luminance": 0.05125
}

Semantic roles & 50–950 ramp

primary
#3F367B
secondary
#9FA765
accent
#CF59C0
background
#F7F6FA
surface
#EEEBF3
border
#C9C6CD
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #3F367B

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

Preview Lab → · Contrast checker → · Palette generator →

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