#3F32B8#3F32B8

#3F32B8 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.8% C 0.200 H 278.1°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#3F32B8
RGBrgb(63, 50, 184)
HSLhsl(246, 57%, 46%)
HSVhsv(246, 73%, 72%)
CMYKcmyk(65.8%, 72.8%, 0%, 27.8%)
CIE-LABlab(31.34, 45.65, -68.48)
CIE-LCHlch(31.34, 82.30, 303.69°)
OKLaboklab(42.78% 0.0282 -0.1977)
OKLCHoklch(42.78% 0.2 278.1)
XYZxyz(11.8394, 6.7977, 46.0263)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F32B8 #ABB832
analogous
#3268B8 #3F32B8 #8232B8
triadic
#3F32B8 #B83F32 #32B83F
tetradic
#3F32B8 #B83268 #ABB832 #32B882
square
#3F32B8 #B83268 #ABB832 #32B882
split-complementary
#3F32B8 #B88232 #68B832
monochromatic
#1E1858 #2F2588 #3F32B8 #6256D1 #8F86DE

Accessibility & contrast

On white

8.90
#3F32B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F32B8
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F32B8#FFFFFF#000000##FFFFFF
##3F32B81.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#0044B6
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f32b8;
/* rgb */ color: rgb(63, 50, 184);
/* oklch */ color: oklch(42.8% 0.200 278.1);
Tailwind
colors: {
  custom: {
    50: '#846ccf',
    500: '#3f32b8',
    950: '#000000',
  },
}
SCSS
$custom: #3f32b8;
$custom-light: #846ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f32b8",
  "rgb": {
    "r": 63,
    "g": 50,
    "b": 184
  },
  "hsl": {
    "h": 245.821,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42782,
    "c": 0.19972,
    "h": 278.1
  },
  "luminance": 0.06799
}

Semantic roles & 50–950 ramp

primary
#3F32B8
secondary
#C1C87E
accent
#E147D2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3F32B8

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

Preview Lab → · Contrast checker → · Palette generator →

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