#3F45B9#3F45B9

#3F45B9 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.9% C 0.179 H 274.6°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#3F45B9
RGBrgb(63, 69, 185)
HSLhsl(237, 49%, 49%)
HSVhsv(237, 66%, 73%)
CMYKcmyk(65.9%, 62.7%, 0%, 27.5%)
CIE-LABlab(35.63, 34.64, -62.04)
CIE-LCHlch(35.63, 71.06, 299.18°)
OKLaboklab(45.91% 0.0143 -0.1789)
OKLCHoklch(45.91% 0.179 274.6)
XYZxyz(12.9321, 8.8147, 46.9094)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F45B9 #B9B33F
analogous
#3F82B9 #3F45B9 #763FB9
triadic
#3F45B9 #B93F45 #45B93F
tetradic
#3F45B9 #B93F82 #B9B33F #3FB976
square
#3F45B9 #B93F82 #B9B33F #3FB976
split-complementary
#3F45B9 #B9763F #82B93F
monochromatic
#20235E #2F348B #3F45B9 #696ECC #979ADC

Accessibility & contrast

On white

7.60
#3F45B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3F45B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F45B9
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F45B9#FFFFFF#000000##FFFFFF
##3F45B91.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#006278
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3f45b9;
/* rgb */ color: rgb(63, 69, 185);
/* oklch */ color: oklch(45.9% 0.179 274.6);
Tailwind
colors: {
  custom: {
    50: '#8379cf',
    500: '#3f45b9',
    950: '#000000',
  },
}
SCSS
$custom: #3f45b9;
$custom-light: #8379cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f45b9",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 185
  },
  "hsl": {
    "h": 237.049,
    "s": 49.194,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45906,
    "c": 0.17944,
    "h": 274.6
  },
  "luminance": 0.08816
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F45B9

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

Preview Lab → · Contrast checker → · Palette generator →

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