#3F368D#3F368D

#3F368D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.139 H 282.7°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#3F368D
RGBrgb(63, 54, 141)
HSLhsl(246, 45%, 38%)
HSVhsv(246, 62%, 55%)
CMYKcmyk(55.3%, 61.7%, 0%, 44.7%)
CIE-LABlab(28.43, 29.22, -47.24)
CIE-LCHlch(28.43, 55.54, 301.74°)
OKLaboklab(39.51% 0.0305 -0.1355)
OKLCHoklch(39.51% 0.139 282.7)
XYZxyz(8.1753, 5.6177, 25.8477)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F368D #848D36
analogous
#36588D #3F368D #6A368D
triadic
#3F368D #8D3F36 #368D3F
tetradic
#3F368D #8D3658 #848D36 #368D6A
square
#3F368D #8D3658 #848D36 #368D6A
split-complementary
#3F368D #8D6A36 #588D36
monochromatic
#171434 #2B2561 #3F368D #5347B9 #7D74CA

Accessibility & contrast

On white

9.89
#3F368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3F368D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F368D
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F368D#FFFFFF#000000##FFFFFF
##3F368D1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#1D4B5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f368d;
/* rgb */ color: rgb(63, 54, 141);
/* oklch */ color: oklch(39.5% 0.139 282.7);
Tailwind
colors: {
  custom: {
    50: '#7b6daf',
    500: '#3f368d',
    950: '#000000',
  },
}
SCSS
$custom: #3f368d;
$custom-light: #7b6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f368d",
  "rgb": {
    "r": 63,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 246.207,
    "s": 44.615,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39508,
    "c": 0.13884,
    "h": 282.7
  },
  "luminance": 0.05618
}

Semantic roles & 50–950 ramp

primary
#3F368D
secondary
#ABB26D
accent
#D453C7
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3F368D

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

Preview Lab → · Contrast checker → · Palette generator →

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