#3F389E#3F389E

#3F389E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.3% C 0.160 H 279.9°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#3F389E
RGBrgb(63, 56, 158)
HSLhsl(244, 48%, 42%)
HSVhsv(244, 65%, 62%)
CMYKcmyk(60.1%, 64.6%, 0%, 38%)
CIE-LABlab(30.29, 33.62, -54.62)
CIE-LCHlch(30.29, 64.14, 301.61°)
OKLaboklab(41.3% 0.0273 -0.1572)
OKLCHoklch(41.3% 0.16 279.9)
XYZxyz(9.6337, 6.3530, 33.0597)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F389E #979E38
analogous
#38649E #3F389E #72389E
triadic
#3F389E #9E3F38 #389E3F
tetradic
#3F389E #9E3864 #979E38 #389E72
square
#3F389E #9E3864 #979E38 #389E72
split-complementary
#3F389E #9E7238 #649E38
monochromatic
#1B1844 #2D2871 #3F389E #5952C2 #857FD2

Accessibility & contrast

On white

9.25
#3F389E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3F389E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F389E
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F389E#FFFFFF#000000##FFFFFF
##3F389E1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3f389e;
/* rgb */ color: rgb(63, 56, 158);
/* oklch */ color: oklch(41.3% 0.160 279.9);
Tailwind
colors: {
  custom: {
    50: '#7e6fbb',
    500: '#3f389e',
    950: '#000000',
  },
}
SCSS
$custom: #3f389e;
$custom-light: #7e6fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f389e",
  "rgb": {
    "r": 63,
    "g": 56,
    "b": 158
  },
  "hsl": {
    "h": 244.118,
    "s": 47.664,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41301,
    "c": 0.15951,
    "h": 279.9
  },
  "luminance": 0.06354
}

Semantic roles & 50–950 ramp

primary
#3F389E
secondary
#B6BB77
accent
#D751CE
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3F389E

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

Preview Lab → · Contrast checker → · Palette generator →

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