#3F30B5#3F30B5

#3F30B5 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.2% C 0.198 H 278.7°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#3F30B5
RGBrgb(63, 48, 181)
HSLhsl(247, 58%, 45%)
HSVhsv(247, 73%, 71%)
CMYKcmyk(65.2%, 73.5%, 0%, 29%)
CIE-LABlab(30.65, 45.81, -67.83)
CIE-LCHlch(30.65, 81.84, 304.03°)
OKLaboklab(42.21% 0.0301 -0.1958)
OKLCHoklch(42.21% 0.198 278.7)
XYZxyz(11.4447, 6.5059, 44.3598)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F30B5 #A6B530
analogous
#3063B5 #3F30B5 #8230B5
triadic
#3F30B5 #B53F30 #30B53F
tetradic
#3F30B5 #B53063 #A6B530 #30B582
square
#3F30B5 #B53063 #A6B530 #30B582
split-complementary
#3F30B5 #B58230 #63B530
monochromatic
#1D1654 #2E2385 #3F30B5 #6051D1 #8C82DE

Accessibility & contrast

On white

9.12
#3F30B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3F30B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F30B5
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F30B5#FFFFFF#000000##FFFFFF
##3F30B51.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0043B3
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3f30b5;
/* rgb */ color: rgb(63, 48, 181);
/* oklch */ color: oklch(42.2% 0.198 278.7);
Tailwind
colors: {
  custom: {
    50: '#836bcc',
    500: '#3f30b5',
    950: '#000000',
  },
}
SCSS
$custom: #3f30b5;
$custom-light: #836bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f30b5",
  "rgb": {
    "r": 63,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 246.767,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42206,
    "c": 0.19812,
    "h": 278.7
  },
  "luminance": 0.06507
}

Semantic roles & 50–950 ramp

primary
#3F30B5
secondary
#BEC77A
accent
#E146D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3F30B5

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

Preview Lab → · Contrast checker → · Palette generator →

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