#3F30BB#3F30BB

#3F30BB is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.8% C 0.205 H 278.1°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#3F30BB
RGBrgb(63, 48, 187)
HSLhsl(246, 59%, 46%)
HSVhsv(246, 74%, 73%)
CMYKcmyk(66.3%, 74.3%, 0%, 26.7%)
CIE-LABlab(31.25, 47.69, -70.40)
CIE-LCHlch(31.25, 85.04, 304.11°)
OKLaboklab(42.81% 0.0288 -0.2033)
OKLCHoklch(42.81% 0.205 278.1)
XYZxyz(12.0736, 6.7575, 47.6721)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F30BB #ACBB30
analogous
#3066BB #3F30BB #8430BB
triadic
#3F30BB #BB3F30 #30BB3F
tetradic
#3F30BB #BB3066 #ACBB30 #30BB84
square
#3F30BB #BB3066 #ACBB30 #30BB84
split-complementary
#3F30BB #BB8430 #66BB30
monochromatic
#1E175A #2F238A #3F30BB #6355D3 #8F86E0

Accessibility & contrast

On white

8.93
#3F30BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F30BB
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F30BB#FFFFFF#000000##FFFFFF
##3F30BB1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBF
Deuteranopia (green-blind)
#0044B8
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f30bb;
/* rgb */ color: rgb(63, 48, 187);
/* oklch */ color: oklch(42.8% 0.205 278.1);
Tailwind
colors: {
  custom: {
    50: '#856bd1',
    500: '#3f30bb',
    950: '#000000',
  },
}
SCSS
$custom: #3f30bb;
$custom-light: #856bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f30bb",
  "rgb": {
    "r": 63,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 246.475,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42805,
    "c": 0.20537,
    "h": 278.1
  },
  "luminance": 0.06759
}

Semantic roles & 50–950 ramp

primary
#3F30BB
secondary
#C1C97D
accent
#E245D1
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3F30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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