#3F45BA#3F45BA

#3F45BA is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.0% C 0.181 H 274.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#3F45BA
RGBrgb(63, 69, 186)
HSLhsl(237, 49%, 49%)
HSVhsv(237, 66%, 73%)
CMYKcmyk(66.1%, 62.9%, 0%, 27.1%)
CIE-LABlab(35.71, 34.99, -62.50)
CIE-LCHlch(35.71, 71.63, 299.24°)
OKLaboklab(45.99% 0.0142 -0.1802)
OKLCHoklch(45.99% 0.181 274.5)
XYZxyz(13.0380, 8.8570, 47.4673)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F45BA #BAB43F
analogous
#3F83BA #3F45BA #773FBA
triadic
#3F45BA #BA3F45 #45BA3F
tetradic
#3F45BA #BA3F83 #BAB43F #3FBA77
square
#3F45BA #BA3F83 #BAB43F #3FBA77
split-complementary
#3F45BA #BA773F #83BA3F
monochromatic
#20235F #30348C #3F45BA #6A6FCC #979BDC

Accessibility & contrast

On white

7.58
#3F45BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3F45BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F45BA
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F45BA#FFFFFF#000000##FFFFFF
##3F45BA1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#006379
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3f45ba;
/* rgb */ color: rgb(63, 69, 186);
/* oklch */ color: oklch(46.0% 0.181 274.5);
Tailwind
colors: {
  custom: {
    50: '#8379d0',
    500: '#3f45ba',
    950: '#000000',
  },
}
SCSS
$custom: #3f45ba;
$custom-light: #8379d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f45ba",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 237.073,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45992,
    "c": 0.18076,
    "h": 274.5
  },
  "luminance": 0.08858
}

Semantic roles & 50–950 ramp

primary
#3F45BA
secondary
#C8C58D
accent
#D24FD9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3F45BA

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

Preview Lab → · Contrast checker → · Palette generator →

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