#3F45E0#3F45E0

#3F45E0 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.5% C 0.229 H 272.7°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#3F45E0
RGBrgb(63, 69, 224)
HSLhsl(238, 72%, 56%)
HSVhsv(238, 72%, 88%)
CMYKcmyk(71.9%, 69.2%, 0%, 12.2%)
CIE-LABlab(39.06, 47.82, -79.02)
CIE-LCHlch(39.06, 92.37, 301.18°)
OKLaboklab(49.45% 0.0106 -0.2286)
OKLCHoklch(49.45% 0.229 272.7)
XYZxyz(17.6280, 10.6930, 71.6415)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F45E0 #E0DA3F
analogous
#3F96E0 #3F45E0 #8A3FE0
triadic
#3F45E0 #E03F45 #45E03F
tetradic
#3F45E0 #E03F96 #E0DA3F #3FE08A
square
#3F45E0 #E03F96 #E0DA3F #3FE08A
split-complementary
#3F45E0 #E08A3F #96E03F
monochromatic
#171B8E #1F25C2 #3F45E0 #7478E9 #A8ABF1

Accessibility & contrast

On white

6.69
#3F45E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#3F45E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F45E0
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F45E0#FFFFFF#000000##FFFFFF
##3F45E01.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E5
Deuteranopia (green-blind)
#0054DD
Tritanopia (blue-blind)
#00708D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3f45e0;
/* rgb */ color: rgb(63, 69, 224);
/* oklch */ color: oklch(49.5% 0.229 272.7);
Tailwind
colors: {
  custom: {
    50: '#8b7aeb',
    500: '#3f45e0',
    950: '#000000',
  },
}
SCSS
$custom: #3f45e0;
$custom-light: #8b7aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f45e0",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 224
  },
  "hsl": {
    "h": 237.764,
    "s": 72.197,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49452,
    "c": 0.22882,
    "h": 272.7
  },
  "luminance": 0.10695
}

Semantic roles & 50–950 ramp

primary
#3F45E0
secondary
#DFDC9C
accent
#E839EF
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #3F45E0

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

Preview Lab → · Contrast checker → · Palette generator →

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