#3F45E4#3F45E4

#3F45E4 is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.8% C 0.234 H 272.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#3F45E4
RGBrgb(63, 69, 228)
HSLhsl(238, 75%, 57%)
HSVhsv(238, 72%, 89%)
CMYKcmyk(72.4%, 69.7%, 0%, 10.6%)
CIE-LABlab(39.43, 49.13, -80.69)
CIE-LCHlch(39.43, 94.47, 301.34°)
OKLaboklab(49.83% 0.0101 -0.2334)
OKLCHoklch(49.83% 0.234 272.5)
XYZxyz(18.1769, 10.9126, 74.5321)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F45E4 #E4DE3F
analogous
#3F98E4 #3F45E4 #8C3FE4
triadic
#3F45E4 #E43F45 #45E43F
tetradic
#3F45E4 #E43F98 #E4DE3F #3FE48C
square
#3F45E4 #E43F98 #E4DE3F #3FE48C
split-complementary
#3F45E4 #E48C3F #98E43F
monochromatic
#151994 #1C23C9 #3F45E4 #7579EC #AAADF3

Accessibility & contrast

On white

6.60
#3F45E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#3F45E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F45E4
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F45E4#FFFFFF#000000##FFFFFF
##3F45E41.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E9
Deuteranopia (green-blind)
#0055E1
Tritanopia (blue-blind)
#007190
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3f45e4;
/* rgb */ color: rgb(63, 69, 228);
/* oklch */ color: oklch(49.8% 0.234 272.5);
Tailwind
colors: {
  custom: {
    50: '#8c7aee',
    500: '#3f45e4',
    950: '#000000',
  },
}
SCSS
$custom: #3f45e4;
$custom-light: #8c7aee;
$custom-dark: #000000;
JSON
{
  "hex": "#3f45e4",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 228
  },
  "hsl": {
    "h": 237.818,
    "s": 75.342,
    "l": 57.059
  },
  "oklch": {
    "l": 0.49834,
    "c": 0.23365,
    "h": 272.5
  },
  "luminance": 0.10914
}

Semantic roles & 50–950 ramp

primary
#3F45E4
secondary
#E1DF9E
accent
#EB36F2
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #3F45E4

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

Preview Lab → · Contrast checker → · Palette generator →

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