#3F30AB#3F30AB

#3F30AB is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.2% C 0.186 H 280.0°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#3F30AB
RGBrgb(63, 48, 171)
HSLhsl(247, 56%, 43%)
HSVhsv(247, 72%, 67%)
CMYKcmyk(63.2%, 71.9%, 0%, 32.9%)
CIE-LABlab(29.69, 42.64, -63.44)
CIE-LCHlch(29.69, 76.44, 303.90°)
OKLaboklab(41.23% 0.0321 -0.183)
OKLCHoklch(41.23% 0.186 280)
XYZxyz(10.4552, 6.1101, 39.1486)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F30AB #9CAB30
analogous
#305EAB #3F30AB #7C30AB
triadic
#3F30AB #AB3F30 #30AB3F
tetradic
#3F30AB #AB305E #9CAB30 #30AB7C
square
#3F30AB #AB305E #9CAB30 #30AB7C
split-complementary
#3F30AB #AB7C30 #5EAB30
monochromatic
#1C154B #2D237B #3F30AB #5B4CCD #877BDA

Accessibility & contrast

On white

9.45
#3F30AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3F30AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F30AB
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F30AB#FFFFFF#000000##FFFFFF
##3F30AB1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#0041A9
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3f30ab;
/* rgb */ color: rgb(63, 48, 171);
/* oklch */ color: oklch(41.2% 0.186 280.0);
Tailwind
colors: {
  custom: {
    50: '#816ac5',
    500: '#3f30ab',
    950: '#000000',
  },
}
SCSS
$custom: #3f30ab;
$custom-light: #816ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f30ab",
  "rgb": {
    "r": 63,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 247.317,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41227,
    "c": 0.1858,
    "h": 280
  },
  "luminance": 0.06111
}

Semantic roles & 50–950 ramp

primary
#3F30AB
secondary
#B9C374
accent
#DF48CD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F30AB

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

Preview Lab → · Contrast checker → · Palette generator →

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