#3F35B2#3F35B2

#3F35B2 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.6% C 0.189 H 278.3°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#3F35B2
RGBrgb(63, 53, 178)
HSLhsl(245, 54%, 45%)
HSVhsv(245, 70%, 70%)
CMYKcmyk(64.6%, 70.2%, 0%, 30.2%)
CIE-LABlab(31.39, 42.02, -64.84)
CIE-LCHlch(31.39, 77.26, 302.94°)
OKLaboklab(42.64% 0.0273 -0.1871)
OKLCHoklch(42.64% 0.189 278.3)
XYZxyz(11.3563, 6.8164, 42.8281)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F35B2 #A8B235
analogous
#3569B2 #3F35B2 #7D35B2
triadic
#3F35B2 #B23F35 #35B23F
tetradic
#3F35B2 #B23569 #A8B235 #35B27D
square
#3F35B2 #B23569 #A8B235 #35B27D
split-complementary
#3F35B2 #B27D35 #69B235
monochromatic
#1E1954 #2E2783 #3F35B2 #6157CD #8D86DB

Accessibility & contrast

On white

8.89
#3F35B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3F35B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F35B2
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F35B2#FFFFFF#000000##FFFFFF
##3F35B21.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f35b2;
/* rgb */ color: rgb(63, 53, 178);
/* oklch */ color: oklch(42.6% 0.189 278.3);
Tailwind
colors: {
  custom: {
    50: '#826eca',
    500: '#3f35b2',
    950: '#000000',
  },
}
SCSS
$custom: #3f35b2;
$custom-light: #826eca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f35b2",
  "rgb": {
    "r": 63,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 244.8,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4264,
    "c": 0.18909,
    "h": 278.3
  },
  "luminance": 0.06817
}

Semantic roles & 50–950 ramp

primary
#3F35B2
secondary
#BFC57E
accent
#DD4AD2
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3F35B2

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

Preview Lab → · Contrast checker → · Palette generator →

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