#3F37AC#3F37AC

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

Color values

HEX#3F37AC
RGBrgb(63, 55, 172)
HSLhsl(244, 52%, 45%)
HSVhsv(244, 68%, 67%)
CMYKcmyk(63.4%, 68%, 0%, 32.5%)
CIE-LABlab(31.27, 38.87, -61.45)
CIE-LCHlch(31.27, 72.71, 302.32°)
OKLaboklab(42.39% 0.0267 -0.1772)
OKLCHoklch(42.39% 0.179 278.6)
XYZxyz(10.8601, 6.7668, 39.7556)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F37AC #A4AC37
analogous
#3769AC #3F37AC #7A37AC
triadic
#3F37AC #AC3F37 #37AC3F
tetradic
#3F37AC #AC3769 #A4AC37 #37AC7A
square
#3F37AC #AC3769 #A4AC37 #37AC7A
split-complementary
#3F37AC #AC7A37 #69AC37
monochromatic
#1D194F #2E287E #3F37AC #5F57C9 #8B85D8

Accessibility & contrast

On white

8.92
#3F37AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3F37AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F37AC
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F37AC#FFFFFF#000000##FFFFFF
##3F37AC1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0045AA
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f37ac;
/* rgb */ color: rgb(63, 55, 172);
/* oklch */ color: oklch(42.4% 0.179 278.6);
Tailwind
colors: {
  custom: {
    50: '#816fc6',
    500: '#3f37ac',
    950: '#000000',
  },
}
SCSS
$custom: #3f37ac;
$custom-light: #816fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f37ac",
  "rgb": {
    "r": 63,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 244.103,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4239,
    "c": 0.17916,
    "h": 278.6
  },
  "luminance": 0.06768
}

Semantic roles & 50–950 ramp

primary
#3F37AC
secondary
#BDC27D
accent
#DB4DD1
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3F37AC

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

Preview Lab → · Contrast checker → · Palette generator →

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