#3F33B8#3F33B8

#3F33B8 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.9% C 0.199 H 278.0°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#3F33B8
RGBrgb(63, 51, 184)
HSLhsl(245, 57%, 46%)
HSVhsv(245, 72%, 72%)
CMYKcmyk(65.8%, 72.3%, 0%, 27.8%)
CIE-LABlab(31.54, 45.09, -68.15)
CIE-LCHlch(31.54, 81.71, 303.49°)
OKLaboklab(42.92% 0.0276 -0.1968)
OKLCHoklch(42.92% 0.199 278)
XYZxyz(11.8827, 6.8841, 46.0407)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F33B8 #ACB833
analogous
#3369B8 #3F33B8 #8133B8
triadic
#3F33B8 #B83F33 #33B83F
tetradic
#3F33B8 #B83369 #ACB833 #33B881
square
#3F33B8 #B83369 #ACB833 #33B881
split-complementary
#3F33B8 #B88133 #69B833
monochromatic
#1E1858 #2F2688 #3F33B8 #6358D1 #8F88DE

Accessibility & contrast

On white

8.83
#3F33B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3F33B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F33B8
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F33B8#FFFFFF#000000##FFFFFF
##3F33B81.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BC
Deuteranopia (green-blind)
#0045B6
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f33b8;
/* rgb */ color: rgb(63, 51, 184);
/* oklch */ color: oklch(42.9% 0.199 278.0);
Tailwind
colors: {
  custom: {
    50: '#846dcf',
    500: '#3f33b8',
    950: '#000000',
  },
}
SCSS
$custom: #3f33b8;
$custom-light: #846dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f33b8",
  "rgb": {
    "r": 63,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 245.414,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42924,
    "c": 0.19869,
    "h": 278
  },
  "luminance": 0.06885
}

Semantic roles & 50–950 ramp

primary
#3F33B8
secondary
#C1C87F
accent
#E048D2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3F33B8

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

Preview Lab → · Contrast checker → · Palette generator →

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