#3F378F#3F378F

#3F378F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.140 H 282.1°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#3F378F
RGBrgb(63, 55, 143)
HSLhsl(245, 44%, 39%)
HSVhsv(245, 62%, 56%)
CMYKcmyk(55.9%, 61.5%, 0%, 43.9%)
CIE-LABlab(28.83, 29.24, -47.82)
CIE-LCHlch(28.83, 56.05, 301.45°)
OKLaboklab(39.85% 0.0293 -0.1372)
OKLCHoklch(39.85% 0.14 282.1)
XYZxyz(8.3725, 5.7718, 26.6542)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F378F #878F37
analogous
#375B8F #3F378F #6B378F
triadic
#3F378F #8F3F37 #378F3F
tetradic
#3F378F #8F375B #878F37 #378F6B
square
#3F378F #8F375B #878F37 #378F6B
split-complementary
#3F378F #8F6B37 #5B8F37
monochromatic
#181537 #2C2663 #3F378F #544AB9 #7E76CA

Accessibility & contrast

On white

9.75
#3F378F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3F378F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F378F
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F378F#FFFFFF#000000##FFFFFF
##3F378F1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#1A4C5D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f378f;
/* rgb */ color: rgb(63, 55, 143);
/* oklch */ color: oklch(39.9% 0.140 282.1);
Tailwind
colors: {
  custom: {
    50: '#7c6eb0',
    500: '#3f378f',
    950: '#000000',
  },
}
SCSS
$custom: #3f378f;
$custom-light: #7c6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f378f",
  "rgb": {
    "r": 63,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 245.455,
    "s": 44.444,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39854,
    "c": 0.14027,
    "h": 282.1
  },
  "luminance": 0.05772
}

Semantic roles & 50–950 ramp

primary
#3F378F
secondary
#ADB36F
accent
#D454C8
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #3F378F

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

Preview Lab → · Contrast checker → · Palette generator →

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