#3F48CB#3F48CB

#3F48CB is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.0% C 0.199 H 273.1°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#3F48CB
RGBrgb(63, 72, 203)
HSLhsl(236, 57%, 52%)
HSVhsv(236, 69%, 80%)
CMYKcmyk(69%, 64.5%, 0%, 20.4%)
CIE-LABlab(37.85, 38.96, -68.93)
CIE-LCHlch(37.85, 79.18, 299.48°)
OKLaboklab(48% 0.0109 -0.1991)
OKLCHoklch(48% 0.199 273.1)
XYZxyz(15.1431, 10.0018, 57.6208)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F48CB #CBC23F
analogous
#3F8ECB #3F48CB #7C3FCB
triadic
#3F48CB #CB3F48 #48CB3F
tetradic
#3F48CB #CB3F8E #CBC23F #3FCB7C
square
#3F48CB #CB3F8E #CBC23F #3FCB7C
split-complementary
#3F48CB #CB7C3F #8ECB3F
monochromatic
#1F2471 #2C33A1 #3F48CB #6F76D8 #9FA4E5

Accessibility & contrast

On white

7.00
#3F48CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#3F48CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F48CB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F48CB#FFFFFF#000000##FFFFFF
##3F48CB1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#0053C8
Tritanopia (blue-blind)
#006A83
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3f48cb;
/* rgb */ color: rgb(63, 72, 203);
/* oklch */ color: oklch(48.0% 0.199 273.1);
Tailwind
colors: {
  custom: {
    50: '#867bdc',
    500: '#3f48cb',
    950: '#000000',
  },
}
SCSS
$custom: #3f48cb;
$custom-light: #867bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f48cb",
  "rgb": {
    "r": 63,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 236.143,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48,
    "c": 0.19936,
    "h": 273.1
  },
  "luminance": 0.10003
}

Semantic roles & 50–950 ramp

primary
#3F48CB
secondary
#D1CE94
accent
#D747E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #3F48CB

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

Preview Lab → · Contrast checker → · Palette generator →

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