#3F368E#3F368E

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

Color values

HEX#3F368E
RGBrgb(63, 54, 142)
HSLhsl(246, 45%, 38%)
HSVhsv(246, 62%, 56%)
CMYKcmyk(55.6%, 62%, 0%, 44.3%)
CIE-LABlab(28.51, 29.55, -47.73)
CIE-LCHlch(28.51, 56.14, 301.76°)
OKLaboklab(39.59% 0.0304 -0.1369)
OKLCHoklch(39.59% 0.14 282.5)
XYZxyz(8.2501, 5.6476, 26.2413)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F368E #858E36
analogous
#36598E #3F368E #6B368E
triadic
#3F368E #8E3F36 #368E3F
tetradic
#3F368E #8E3659 #858E36 #368E6B
square
#3F368E #8E3659 #858E36 #368E6B
split-complementary
#3F368E #8E6B36 #598E36
monochromatic
#181435 #2B2562 #3F368E #5348B9 #7D74CA

Accessibility & contrast

On white

9.86
#3F368E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3F368E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F368E
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F368E#FFFFFF#000000##FFFFFF
##3F368E1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#1B4B5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f368e;
/* rgb */ color: rgb(63, 54, 142);
/* oklch */ color: oklch(39.6% 0.140 282.5);
Tailwind
colors: {
  custom: {
    50: '#7c6db0',
    500: '#3f368e',
    950: '#000000',
  },
}
SCSS
$custom: #3f368e;
$custom-light: #7c6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f368e",
  "rgb": {
    "r": 63,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 246.136,
    "s": 44.898,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39591,
    "c": 0.14024,
    "h": 282.5
  },
  "luminance": 0.05648
}

Semantic roles & 50–950 ramp

primary
#3F368E
secondary
#ACB36D
accent
#D553C7
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3F368E

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

Preview Lab → · Contrast checker → · Palette generator →

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