#3F35B8#3F35B8

#3F35B8 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.2% C 0.197 H 277.7°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#3F35B8
RGBrgb(63, 53, 184)
HSLhsl(245, 55%, 46%)
HSVhsv(245, 71%, 72%)
CMYKcmyk(65.8%, 71.2%, 0%, 27.8%)
CIE-LABlab(31.95, 43.96, -67.48)
CIE-LCHlch(31.95, 80.53, 303.08°)
OKLaboklab(43.22% 0.0262 -0.1948)
OKLCHoklch(43.22% 0.197 277.7)
XYZxyz(11.9719, 7.0627, 46.0704)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F35B8 #AEB835
analogous
#356DB8 #3F35B8 #8135B8
triadic
#3F35B8 #B83F35 #35B83F
tetradic
#3F35B8 #B8356D #AEB835 #35B881
square
#3F35B8 #B8356D #AEB835 #35B881
split-complementary
#3F35B8 #B88135 #6DB835
monochromatic
#1E1A59 #2F2788 #3F35B8 #645BD0 #908ADD

Accessibility & contrast

On white

8.70
#3F35B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3F35B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F35B8
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F35B8#FFFFFF#000000##FFFFFF
##3F35B81.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BC
Deuteranopia (green-blind)
#0046B6
Tritanopia (blue-blind)
#005973
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f35b8;
/* rgb */ color: rgb(63, 53, 184);
/* oklch */ color: oklch(43.2% 0.197 277.7);
Tailwind
colors: {
  custom: {
    50: '#846ece',
    500: '#3f35b8',
    950: '#000000',
  },
}
SCSS
$custom: #3f35b8;
$custom-light: #846ece;
$custom-dark: #000000;
JSON
{
  "hex": "#3f35b8",
  "rgb": {
    "r": 63,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 244.58,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43215,
    "c": 0.19658,
    "h": 277.7
  },
  "luminance": 0.07064
}

Semantic roles & 50–950 ramp

primary
#3F35B8
secondary
#C2C781
accent
#DF49D3
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3F35B8

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

Preview Lab → · Contrast checker → · Palette generator →

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