#3F36AB#3F36AB

#3F36AB is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.1% C 0.179 H 278.9°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#3F36AB
RGBrgb(63, 54, 171)
HSLhsl(245, 52%, 44%)
HSVhsv(245, 68%, 67%)
CMYKcmyk(63.2%, 68.4%, 0%, 32.9%)
CIE-LABlab(30.96, 39.14, -61.36)
CIE-LCHlch(30.96, 72.78, 302.54°)
OKLaboklab(42.14% 0.0276 -0.1769)
OKLCHoklch(42.14% 0.179 278.9)
XYZxyz(10.7174, 6.6345, 39.2360)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F36AB #A2AB36
analogous
#3668AB #3F36AB #7A36AB
triadic
#3F36AB #AB3F36 #36AB3F
tetradic
#3F36AB #AB3668 #A2AB36 #36AB7A
square
#3F36AB #AB3668 #A2AB36 #36AB7A
split-complementary
#3F36AB #AB7A36 #68AB36
monochromatic
#1D194E #2E277C #3F36AB #5E55C9 #8A83D8

Accessibility & contrast

On white

9.02
#3F36AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3F36AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F36AB
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F36AB#FFFFFF#000000##FFFFFF
##3F36AB1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#0044A9
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3f36ab;
/* rgb */ color: rgb(63, 54, 171);
/* oklch */ color: oklch(42.1% 0.179 278.9);
Tailwind
colors: {
  custom: {
    50: '#816ec5',
    500: '#3f36ab',
    950: '#000000',
  },
}
SCSS
$custom: #3f36ab;
$custom-light: #816ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f36ab",
  "rgb": {
    "r": 63,
    "g": 54,
    "b": 171
  },
  "hsl": {
    "h": 244.615,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42139,
    "c": 0.17905,
    "h": 278.9
  },
  "luminance": 0.06635
}

Semantic roles & 50–950 ramp

primary
#3F36AB
secondary
#BCC27B
accent
#DB4CD0
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3F36AB

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

Preview Lab → · Contrast checker → · Palette generator →

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