#3F35BA#3F35BA

#3F35BA is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.4% C 0.199 H 277.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#3F35BA
RGBrgb(63, 53, 186)
HSLhsl(245, 56%, 47%)
HSVhsv(245, 72%, 73%)
CMYKcmyk(66.1%, 71.5%, 0%, 27.1%)
CIE-LABlab(32.14, 44.60, -68.35)
CIE-LCHlch(32.14, 81.61, 303.13°)
OKLaboklab(43.41% 0.0259 -0.1974)
OKLCHoklch(43.41% 0.199 277.5)
XYZxyz(12.1831, 7.1471, 47.1824)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F35BA #B0BA35
analogous
#356EBA #3F35BA #8235BA
triadic
#3F35BA #BA3F35 #35BA3F
tetradic
#3F35BA #BA356E #B0BA35 #35BA82
square
#3F35BA #BA356E #B0BA35 #35BA82
split-complementary
#3F35BA #BA8235 #6EBA35
monochromatic
#1F1A5B #2F278A #3F35BA #655CD0 #928BDE

Accessibility & contrast

On white

8.64
#3F35BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3F35BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F35BA
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F35BA#FFFFFF#000000##FFFFFF
##3F35BA1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BE
Deuteranopia (green-blind)
#0046B8
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f35ba;
/* rgb */ color: rgb(63, 53, 186);
/* oklch */ color: oklch(43.4% 0.199 277.5);
Tailwind
colors: {
  custom: {
    50: '#846ed0',
    500: '#3f35ba',
    950: '#000000',
  },
}
SCSS
$custom: #3f35ba;
$custom-light: #846ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f35ba",
  "rgb": {
    "r": 63,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 244.511,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43408,
    "c": 0.19905,
    "h": 277.5
  },
  "luminance": 0.07148
}

Semantic roles & 50–950 ramp

primary
#3F35BA
secondary
#C3C882
accent
#DF49D4
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3F35BA

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

Preview Lab → · Contrast checker → · Palette generator →

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