#3F33A8#3F33A8

#3F33A8 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.4% C 0.179 H 279.8°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#3F33A8
RGBrgb(63, 51, 168)
HSLhsl(246, 53%, 43%)
HSVhsv(246, 70%, 66%)
CMYKcmyk(62.5%, 69.6%, 0%, 34.1%)
CIE-LABlab(30.04, 39.94, -61.07)
CIE-LCHlch(30.04, 72.97, 303.19°)
OKLaboklab(41.39% 0.0304 -0.1761)
OKLCHoklch(41.39% 0.179 279.8)
XYZxyz(10.2994, 6.2508, 37.7020)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F33A8 #9CA833
analogous
#3361A8 #3F33A8 #7933A8
triadic
#3F33A8 #A83F33 #33A83F
tetradic
#3F33A8 #A83361 #9CA833 #33A879
square
#3F33A8 #A83361 #9CA833 #33A879
split-complementary
#3F33A8 #A87933 #61A833
monochromatic
#1C164A #2D2579 #3F33A8 #5B4FC9 #877ED8

Accessibility & contrast

On white

9.33
#3F33A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3F33A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F33A8
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F33A8#FFFFFF#000000##FFFFFF
##3F33A81.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#0042A6
Tritanopia (blue-blind)
#005269
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3f33a8;
/* rgb */ color: rgb(63, 51, 168);
/* oklch */ color: oklch(41.4% 0.179 279.8);
Tailwind
colors: {
  custom: {
    50: '#816cc3',
    500: '#3f33a8',
    950: '#000000',
  },
}
SCSS
$custom: #3f33a8;
$custom-light: #816cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f33a8",
  "rgb": {
    "r": 63,
    "g": 51,
    "b": 168
  },
  "hsl": {
    "h": 246.154,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41391,
    "c": 0.17867,
    "h": 279.8
  },
  "luminance": 0.06252
}

Semantic roles & 50–950 ramp

primary
#3F33A8
secondary
#B9C176
accent
#DD4BCE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3F33A8

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

Preview Lab → · Contrast checker → · Palette generator →

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