#3F30B7#3F30B7

#3F30B7 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.4% C 0.201 H 278.5°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#3F30B7
RGBrgb(63, 48, 183)
HSLhsl(247, 58%, 45%)
HSVhsv(247, 74%, 72%)
CMYKcmyk(65.6%, 73.8%, 0%, 28.2%)
CIE-LABlab(30.85, 46.43, -68.69)
CIE-LCHlch(30.85, 82.91, 304.06°)
OKLaboklab(42.41% 0.0297 -0.1983)
OKLCHoklch(42.41% 0.201 278.5)
XYZxyz(11.6513, 6.5886, 45.4483)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F30B7 #A8B730
analogous
#3064B7 #3F30B7 #8330B7
triadic
#3F30B7 #B73F30 #30B73F
tetradic
#3F30B7 #B73064 #A8B730 #30B783
square
#3F30B7 #B73064 #A8B730 #30B783
split-complementary
#3F30B7 #B78330 #64B730
monochromatic
#1E1756 #2E2387 #3F30B7 #6152D2 #8D83DE

Accessibility & contrast

On white

9.06
#3F30B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3F30B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F30B7
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F30B7#FFFFFF#000000##FFFFFF
##3F30B71.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBB
Deuteranopia (green-blind)
#0043B5
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3f30b7;
/* rgb */ color: rgb(63, 48, 183);
/* oklch */ color: oklch(42.4% 0.201 278.5);
Tailwind
colors: {
  custom: {
    50: '#846bce',
    500: '#3f30b7',
    950: '#000000',
  },
}
SCSS
$custom: #3f30b7;
$custom-light: #846bce;
$custom-dark: #000000;
JSON
{
  "hex": "#3f30b7",
  "rgb": {
    "r": 63,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 246.667,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42405,
    "c": 0.20055,
    "h": 278.5
  },
  "luminance": 0.0659
}

Semantic roles & 50–950 ramp

primary
#3F30B7
secondary
#BFC87B
accent
#E246D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3F30B7

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

Preview Lab → · Contrast checker → · Palette generator →

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