#3F2EA8#3F2EA8

#3F2EA8 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.6% C 0.184 H 280.7°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#3F2EA8
RGBrgb(63, 46, 168)
HSLhsl(248, 57%, 42%)
HSVhsv(248, 73%, 66%)
CMYKcmyk(62.5%, 72.6%, 0%, 34.1%)
CIE-LABlab(29.00, 42.81, -62.77)
CIE-LCHlch(29.00, 75.98, 304.29°)
OKLaboklab(40.65% 0.0342 -0.181)
OKLCHoklch(40.65% 0.184 280.7)
XYZxyz(10.0925, 5.8372, 37.6330)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2EA8 #97A82E
analogous
#2E5AA8 #3F2EA8 #7C2EA8
triadic
#3F2EA8 #A83F2E #2EA83F
tetradic
#3F2EA8 #A82E5A #97A82E #2EA87C
square
#3F2EA8 #A82E5A #97A82E #2EA87C
split-complementary
#3F2EA8 #A87C2E #5AA82E
monochromatic
#1B1448 #2D2178 #3F2EA8 #5947CD #8577DA

Accessibility & contrast

On white

9.69
#3F2EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3F2EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2EA8
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2EA8#FFFFFF#000000##FFFFFF
##3F2EA81.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#0040A6
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f2ea8;
/* rgb */ color: rgb(63, 46, 168);
/* oklch */ color: oklch(40.6% 0.184 280.7);
Tailwind
colors: {
  custom: {
    50: '#8169c3',
    500: '#3f2ea8',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ea8;
$custom-light: #8169c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ea8",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 248.361,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40649,
    "c": 0.18424,
    "h": 280.7
  },
  "luminance": 0.05838
}

Semantic roles & 50–950 ramp

primary
#3F2EA8
secondary
#B6C270
accent
#E048CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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