#3F30DB#3F30DB

#3F30DB is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 46.1% C 0.243 H 275.1°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#3F30DB
RGBrgb(63, 48, 219)
HSLhsl(245, 70%, 52%)
HSVhsv(245, 78%, 86%)
CMYKcmyk(71.2%, 78.1%, 0%, 14.1%)
CIE-LABlab(34.57, 57.48, -83.57)
CIE-LCHlch(34.57, 101.43, 304.52°)
OKLaboklab(46.12% 0.0214 -0.2417)
OKLCHoklch(46.12% 0.243 275.1)
XYZxyz(15.8888, 8.2836, 67.7656)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F30DB #CCDB30
analogous
#3077DB #3F30DB #9430DB
triadic
#3F30DB #DB3F30 #30DB3F
tetradic
#3F30DB #DB3077 #CCDB30 #30DB94
square
#3F30DB #DB3077 #CCDB30 #30DB94
split-complementary
#3F30DB #DB9430 #77DB30
monochromatic
#1E157B #2B1EAF #3F30DB #6F64E4 #A098ED

Accessibility & contrast

On white

7.90
#3F30DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3F30DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F30DB
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F30DB#FFFFFF#000000##FFFFFF
##3F30DB1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059E0
Deuteranopia (green-blind)
#0049D8
Tritanopia (blue-blind)
#006485
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3f30db;
/* rgb */ color: rgb(63, 48, 219);
/* oklch */ color: oklch(46.1% 0.243 275.1);
Tailwind
colors: {
  custom: {
    50: '#8b6de8',
    500: '#3f30db',
    950: '#000000',
  },
}
SCSS
$custom: #3f30db;
$custom-light: #8b6de8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f30db",
  "rgb": {
    "r": 63,
    "g": 48,
    "b": 219
  },
  "hsl": {
    "h": 245.263,
    "s": 70.37,
    "l": 52.353
  },
  "oklch": {
    "l": 0.46118,
    "c": 0.24262,
    "h": 275.1
  },
  "luminance": 0.08285
}

Semantic roles & 50–950 ramp

primary
#3F30DB
secondary
#D2D98E
accent
#ED3BDD
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #3F30DB

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

Preview Lab → · Contrast checker → · Palette generator →

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