#3F397D#3F397D

#3F397D is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.8% C 0.111 H 283.9°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#3F397D
RGBrgb(63, 57, 125)
HSLhsl(245, 37%, 36%)
HSVhsv(245, 54%, 49%)
CMYKcmyk(49.6%, 54.4%, 0%, 51%)
CIE-LABlab(28.02, 21.97, -37.94)
CIE-LCHlch(28.02, 43.84, 300.08°)
OKLaboklab(38.83% 0.0268 -0.1081)
OKLCHoklch(38.83% 0.111 283.9)
XYZxyz(7.2136, 5.4633, 20.0725)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F397D #777D39
analogous
#39557D #3F397D #61397D
triadic
#3F397D #7D3F39 #397D3F
tetradic
#3F397D #7D3955 #777D39 #397D61
square
#3F397D #7D3955 #777D39 #397D61
split-complementary
#3F397D #7D6139 #557D39
monochromatic
#151329 #2A2653 #3F397D #544CA7 #7972BF

Accessibility & contrast

On white

10.03
#3F397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3F397D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F397D
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F397D#FFFFFF#000000##FFFFFF
##3F397D1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17447F
Deuteranopia (green-blind)
#13407C
Tritanopia (blue-blind)
#294855
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3f397d;
/* rgb */ color: rgb(63, 57, 125);
/* oklch */ color: oklch(38.8% 0.111 283.9);
Tailwind
colors: {
  custom: {
    50: '#796fa3',
    500: '#3f397d',
    950: '#000000',
  },
}
SCSS
$custom: #3f397d;
$custom-light: #796fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f397d",
  "rgb": {
    "r": 63,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 245.294,
    "s": 37.363,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3883,
    "c": 0.11135,
    "h": 283.9
  },
  "luminance": 0.05464
}

Semantic roles & 50–950 ramp

primary
#3F397D
secondary
#A2A86A
accent
#CD5AC3
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #3F397D

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

Preview Lab → · Contrast checker → · Palette generator →

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