#3F388E#3F388E

#3F388E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.0% C 0.137 H 281.9°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#3F388E
RGBrgb(63, 56, 142)
HSLhsl(245, 43%, 39%)
HSVhsv(245, 61%, 56%)
CMYKcmyk(55.6%, 60.6%, 0%, 44.3%)
CIE-LABlab(29.00, 28.27, -46.93)
CIE-LCHlch(29.00, 54.78, 301.06°)
OKLaboklab(39.95% 0.0283 -0.1345)
OKLCHoklch(39.95% 0.137 281.9)
XYZxyz(8.3451, 5.8376, 26.2730)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F388E #878E38
analogous
#385C8E #3F388E #6A388E
triadic
#3F388E #8E3F38 #388E3F
tetradic
#3F388E #8E385C #878E38 #388E6A
square
#3F388E #8E385C #878E38 #388E6A
split-complementary
#3F388E #8E6A38 #5C8E38
monochromatic
#181536 #2C2762 #3F388E #544BB8 #7E77C9

Accessibility & contrast

On white

9.69
#3F388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3F388E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F388E
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F388E#FFFFFF#000000##FFFFFF
##3F388E1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#1B4C5D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f388e;
/* rgb */ color: rgb(63, 56, 142);
/* oklch */ color: oklch(40.0% 0.137 281.9);
Tailwind
colors: {
  custom: {
    50: '#7b6fb0',
    500: '#3f388e',
    950: '#000000',
  },
}
SCSS
$custom: #3f388e;
$custom-light: #7b6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f388e",
  "rgb": {
    "r": 63,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 244.884,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39954,
    "c": 0.13748,
    "h": 281.9
  },
  "luminance": 0.05838
}

Semantic roles & 50–950 ramp

primary
#3F388E
secondary
#ADB26F
accent
#D355C9
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3F388E

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

Preview Lab → · Contrast checker → · Palette generator →

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