#3F368F#3F368F

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

Color values

HEX#3F368F
RGBrgb(63, 54, 143)
HSLhsl(246, 45%, 39%)
HSVhsv(246, 62%, 56%)
CMYKcmyk(55.9%, 62.2%, 0%, 43.9%)
CIE-LABlab(28.58, 29.88, -48.22)
CIE-LCHlch(28.58, 56.73, 301.79°)
OKLaboklab(39.67% 0.0304 -0.1383)
OKLCHoklch(39.67% 0.142 282.4)
XYZxyz(8.3255, 5.6778, 26.6385)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F368F #868F36
analogous
#36598F #3F368F #6B368F
triadic
#3F368F #8F3F36 #368F3F
tetradic
#3F368F #8F3659 #868F36 #368F6B
square
#3F368F #8F3659 #868F36 #368F6B
split-complementary
#3F368F #8F6B36 #598F36
monochromatic
#181436 #2B2563 #3F368F #5448BA #7D75CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F368F#FFFFFF#000000##FFFFFF
##3F368F1.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)
#004692
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#1A4B5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f368f;
/* rgb */ color: rgb(63, 54, 143);
/* oklch */ color: oklch(39.7% 0.142 282.4);
Tailwind
colors: {
  custom: {
    50: '#7c6db0',
    500: '#3f368f',
    950: '#000000',
  },
}
SCSS
$custom: #3f368f;
$custom-light: #7c6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f368f",
  "rgb": {
    "r": 63,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 246.067,
    "s": 45.178,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39674,
    "c": 0.14163,
    "h": 282.4
  },
  "luminance": 0.05678
}

Semantic roles & 50–950 ramp

primary
#3F368F
secondary
#ACB36D
accent
#D553C8
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #3F368F

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

Preview Lab → · Contrast checker → · Palette generator →

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