#3F35AF#3F35AF

#3F35AF is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.4% C 0.185 H 278.6°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#3F35AF
RGBrgb(63, 53, 175)
HSLhsl(245, 54%, 45%)
HSVhsv(245, 70%, 69%)
CMYKcmyk(64%, 69.7%, 0%, 31.4%)
CIE-LABlab(31.11, 41.04, -63.51)
CIE-LCHlch(31.11, 75.62, 302.87°)
OKLaboklab(42.36% 0.0277 -0.1832)
OKLCHoklch(42.36% 0.185 278.6)
XYZxyz(11.0584, 6.6972, 41.2591)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F35AF #A5AF35
analogous
#3568AF #3F35AF #7C35AF
triadic
#3F35AF #AF3F35 #35AF3F
tetradic
#3F35AF #AF3568 #A5AF35 #35AF7C
square
#3F35AF #AF3568 #A5AF35 #35AF7C
split-complementary
#3F35AF #AF7C35 #68AF35
monochromatic
#1D1951 #2E2780 #3F35AF #5F56CC #8C85DA

Accessibility & contrast

On white

8.98
#3F35AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3F35AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F35AF
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F35AF#FFFFFF#000000##FFFFFF
##3F35AF1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#00566E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3f35af;
/* rgb */ color: rgb(63, 53, 175);
/* oklch */ color: oklch(42.4% 0.185 278.6);
Tailwind
colors: {
  custom: {
    50: '#826ec8',
    500: '#3f35af',
    950: '#000000',
  },
}
SCSS
$custom: #3f35af;
$custom-light: #826ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f35af",
  "rgb": {
    "r": 63,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 244.918,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42356,
    "c": 0.1853,
    "h": 278.6
  },
  "luminance": 0.06698
}

Semantic roles & 50–950 ramp

primary
#3F35AF
secondary
#BEC47C
accent
#DD4BD1
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3F35AF

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

Preview Lab → · Contrast checker → · Palette generator →

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