#3F36B2#3F36B2

#3F36B2 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.8% C 0.188 H 278.1°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#3F36B2
RGBrgb(63, 54, 178)
HSLhsl(244, 53%, 45%)
HSVhsv(244, 70%, 70%)
CMYKcmyk(64.6%, 69.7%, 0%, 30.2%)
CIE-LABlab(31.60, 41.44, -64.49)
CIE-LCHlch(31.60, 76.66, 302.72°)
OKLaboklab(42.79% 0.0265 -0.1861)
OKLCHoklch(42.79% 0.188 278.1)
XYZxyz(11.4024, 6.9085, 42.8434)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F36B2 #A9B236
analogous
#366BB2 #3F36B2 #7D36B2
triadic
#3F36B2 #B23F36 #36B23F
tetradic
#3F36B2 #B2366B #A9B236 #36B27D
square
#3F36B2 #B2366B #A9B236 #36B27D
split-complementary
#3F36B2 #B27D36 #6BB236
monochromatic
#1E1A54 #2E2883 #3F36B2 #6159CD #8E88DB

Accessibility & contrast

On white

8.82
#3F36B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3F36B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F36B2
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F36B2#FFFFFF#000000##FFFFFF
##3F36B21.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#0045B0
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f36b2;
/* rgb */ color: rgb(63, 54, 178);
/* oklch */ color: oklch(42.8% 0.188 278.1);
Tailwind
colors: {
  custom: {
    50: '#826eca',
    500: '#3f36b2',
    950: '#000000',
  },
}
SCSS
$custom: #3f36b2;
$custom-light: #826eca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f36b2",
  "rgb": {
    "r": 63,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 244.355,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42792,
    "c": 0.18797,
    "h": 278.1
  },
  "luminance": 0.06909
}

Semantic roles & 50–950 ramp

primary
#3F36B2
secondary
#C0C57F
accent
#DD4BD2
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3F36B2

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

Preview Lab → · Contrast checker → · Palette generator →

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