#3F45D9#3F45D9

#3F45D9 is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.8% C 0.220 H 273.0°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#3F45D9
RGBrgb(63, 69, 217)
HSLhsl(238, 67%, 55%)
HSVhsv(238, 71%, 85%)
CMYKcmyk(71%, 68.2%, 0%, 14.9%)
CIE-LABlab(38.41, 45.50, -76.08)
CIE-LCHlch(38.41, 88.65, 300.88°)
OKLaboklab(48.79% 0.0114 -0.22)
OKLCHoklch(48.79% 0.22 273)
XYZxyz(16.6982, 10.3211, 66.7443)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F45D9 #D9D33F
analogous
#3F92D9 #3F45D9 #863FD9
triadic
#3F45D9 #D93F45 #45D93F
tetradic
#3F45D9 #D93F92 #D9D33F #3FD986
square
#3F45D9 #D93F92 #D9D33F #3FD986
split-complementary
#3F45D9 #D9863F #92D93F
monochromatic
#1A1E84 #242AB7 #3F45D9 #7276E3 #A5A8ED

Accessibility & contrast

On white

6.85
#3F45D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3F45D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F45D9
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F45D9#FFFFFF#000000##FFFFFF
##3F45D91.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DE
Deuteranopia (green-blind)
#0053D6
Tritanopia (blue-blind)
#006D8A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3f45d9;
/* rgb */ color: rgb(63, 69, 217);
/* oklch */ color: oklch(48.8% 0.220 273.0);
Tailwind
colors: {
  custom: {
    50: '#8979e6',
    500: '#3f45d9',
    950: '#000000',
  },
}
SCSS
$custom: #3f45d9;
$custom-light: #8979e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f45d9",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 237.662,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.48791,
    "c": 0.22028,
    "h": 273
  },
  "luminance": 0.10323
}

Semantic roles & 50–950 ramp

primary
#3F45D9
secondary
#DAD89A
accent
#E33EEA
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3F45D9

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

Preview Lab → · Contrast checker → · Palette generator →

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