#3F36A2#3F36A2

#3F36A2 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.167 H 279.9°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#3F36A2
RGBrgb(63, 54, 162)
HSLhsl(245, 50%, 42%)
HSVhsv(245, 67%, 64%)
CMYKcmyk(61.1%, 66.7%, 0%, 36.5%)
CIE-LABlab(30.16, 36.18, -57.24)
CIE-LCHlch(30.16, 67.72, 302.29°)
OKLaboklab(41.32% 0.0287 -0.1648)
OKLCHoklch(41.32% 0.167 279.9)
XYZxyz(9.8886, 6.3030, 34.8709)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F36A2 #99A236
analogous
#3663A2 #3F36A2 #7536A2
triadic
#3F36A2 #A23F36 #36A23F
tetradic
#3F36A2 #A23663 #99A236 #36A275
square
#3F36A2 #A23663 #99A236 #36A275
split-complementary
#3F36A2 #A27536 #63A236
monochromatic
#1B1746 #2D2774 #3F36A2 #5A50C5 #857ED4

Accessibility & contrast

On white

9.29
#3F36A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3F36A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F36A2
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F36A2#FFFFFF#000000##FFFFFF
##3F36A21.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3f36a2;
/* rgb */ color: rgb(63, 54, 162);
/* oklch */ color: oklch(41.3% 0.167 279.9);
Tailwind
colors: {
  custom: {
    50: '#7f6ebe',
    500: '#3f36a2',
    950: '#000000',
  },
}
SCSS
$custom: #3f36a2;
$custom-light: #7f6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#3f36a2",
  "rgb": {
    "r": 63,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 245,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41318,
    "c": 0.16733,
    "h": 279.9
  },
  "luminance": 0.06304
}

Semantic roles & 50–950 ramp

primary
#3F36A2
secondary
#B7BD77
accent
#DA4ECE
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3F36A2

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

Preview Lab → · Contrast checker → · Palette generator →

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