#3F35B9#3F35B9

#3F35B9 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.3% C 0.198 H 277.6°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#3F35B9
RGBrgb(63, 53, 185)
HSLhsl(245, 55%, 47%)
HSVhsv(245, 71%, 73%)
CMYKcmyk(65.9%, 71.4%, 0%, 27.5%)
CIE-LABlab(32.04, 44.28, -67.91)
CIE-LCHlch(32.04, 81.07, 303.11°)
OKLaboklab(43.31% 0.0261 -0.1961)
OKLCHoklch(43.31% 0.198 277.6)
XYZxyz(12.0771, 7.1047, 46.6244)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F35B9 #AFB935
analogous
#356DB9 #3F35B9 #8135B9
triadic
#3F35B9 #B93F35 #35B93F
tetradic
#3F35B9 #B9356D #AFB935 #35B981
square
#3F35B9 #B9356D #AFB935 #35B981
split-complementary
#3F35B9 #B98135 #6DB935
monochromatic
#1F1A5A #2F2789 #3F35B9 #645BD0 #918BDE

Accessibility & contrast

On white

8.67
#3F35B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3F35B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F35B9
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F35B9#FFFFFF#000000##FFFFFF
##3F35B91.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BD
Deuteranopia (green-blind)
#0046B7
Tritanopia (blue-blind)
#005973
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f35b9;
/* rgb */ color: rgb(63, 53, 185);
/* oklch */ color: oklch(43.3% 0.198 277.6);
Tailwind
colors: {
  custom: {
    50: '#846ecf',
    500: '#3f35b9',
    950: '#000000',
  },
}
SCSS
$custom: #3f35b9;
$custom-light: #846ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f35b9",
  "rgb": {
    "r": 63,
    "g": 53,
    "b": 185
  },
  "hsl": {
    "h": 244.545,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43311,
    "c": 0.19781,
    "h": 277.6
  },
  "luminance": 0.07106
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F35B9

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

Preview Lab → · Contrast checker → · Palette generator →

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