#3F378C#3F378C

#3F378C is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.136 H 282.5°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#3F378C
RGBrgb(63, 55, 140)
HSLhsl(246, 44%, 38%)
HSVhsv(246, 61%, 55%)
CMYKcmyk(55%, 60.7%, 0%, 45.1%)
CIE-LABlab(28.60, 28.24, -46.35)
CIE-LCHlch(28.60, 54.28, 301.36°)
OKLaboklab(39.61% 0.0294 -0.1328)
OKLCHoklch(39.61% 0.136 282.5)
XYZxyz(8.1483, 5.6821, 25.4733)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F378C #848C37
analogous
#37598C #3F378C #69378C
triadic
#3F378C #8C3F37 #378C3F
tetradic
#3F378C #8C3759 #848C37 #378C69
square
#3F378C #8C3759 #848C37 #378C69
split-complementary
#3F378C #8C6937 #598C37
monochromatic
#171434 #2B2660 #3F378C #5349B7 #7D75C9

Accessibility & contrast

On white

9.83
#3F378C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3F378C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F378C
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F378C#FFFFFF#000000##FFFFFF
##3F378C1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468F
Deuteranopia (green-blind)
#00408A
Tritanopia (blue-blind)
#1D4B5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f378c;
/* rgb */ color: rgb(63, 55, 140);
/* oklch */ color: oklch(39.6% 0.136 282.5);
Tailwind
colors: {
  custom: {
    50: '#7b6eae',
    500: '#3f378c',
    950: '#000000',
  },
}
SCSS
$custom: #3f378c;
$custom-light: #7b6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#3f378c",
  "rgb": {
    "r": 63,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 245.647,
    "s": 43.59,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39608,
    "c": 0.13605,
    "h": 282.5
  },
  "luminance": 0.05683
}

Semantic roles & 50–950 ramp

primary
#3F378C
secondary
#ABB16D
accent
#D354C7
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3F378C

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

Preview Lab → · Contrast checker → · Palette generator →

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