#3F35AB#3F35AB

#3F35AB is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.0% C 0.180 H 279.1°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#3F35AB
RGBrgb(63, 53, 171)
HSLhsl(245, 53%, 44%)
HSVhsv(245, 69%, 67%)
CMYKcmyk(63.2%, 69%, 0%, 32.9%)
CIE-LABlab(30.74, 39.74, -61.71)
CIE-LCHlch(30.74, 73.40, 302.78°)
OKLaboklab(41.98% 0.0284 -0.178)
OKLCHoklch(41.98% 0.18 279.1)
XYZxyz(10.6713, 6.5424, 39.2206)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F35AB #A1AB35
analogous
#3566AB #3F35AB #7A35AB
triadic
#3F35AB #AB3F35 #35AB3F
tetradic
#3F35AB #AB3566 #A1AB35 #35AB7A
square
#3F35AB #AB3566 #A1AB35 #35AB7A
split-complementary
#3F35AB #AB7A35 #66AB35
monochromatic
#1D184E #2E277C #3F35AB #5D53CA #8982D8

Accessibility & contrast

On white

9.10
#3F35AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3F35AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F35AB
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F35AB#FFFFFF#000000##FFFFFF
##3F35AB1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#0044A9
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3f35ab;
/* rgb */ color: rgb(63, 53, 171);
/* oklch */ color: oklch(42.0% 0.180 279.1);
Tailwind
colors: {
  custom: {
    50: '#816dc5',
    500: '#3f35ab',
    950: '#000000',
  },
}
SCSS
$custom: #3f35ab;
$custom-light: #816dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f35ab",
  "rgb": {
    "r": 63,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 245.085,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41981,
    "c": 0.18021,
    "h": 279.1
  },
  "luminance": 0.06543
}

Semantic roles & 50–950 ramp

primary
#3F35AB
secondary
#BCC27A
accent
#DC4CD0
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3F35AB

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

Preview Lab → · Contrast checker → · Palette generator →

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