#3F45BE#3F45BE

#3F45BE is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.3% C 0.186 H 274.3°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#3F45BE
RGBrgb(63, 69, 190)
HSLhsl(237, 50%, 50%)
HSVhsv(237, 67%, 75%)
CMYKcmyk(66.8%, 63.7%, 0%, 25.5%)
CIE-LABlab(36.04, 36.36, -64.30)
CIE-LCHlch(36.04, 73.87, 299.49°)
OKLaboklab(46.34% 0.014 -0.1855)
OKLCHoklch(46.34% 0.186 274.3)
XYZxyz(13.4692, 9.0295, 49.7383)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F45BE #BEB83F
analogous
#3F85BE #3F45BE #783FBE
triadic
#3F45BE #BE3F45 #45BE3F
tetradic
#3F45BE #BE3F85 #BEB83F #3FBE78
square
#3F45BE #BE3F85 #BEB83F #3FBE78
split-complementary
#3F45BE #BE783F #85BE3F
monochromatic
#212462 #303490 #3F45BE #6C71CE #9A9DDD

Accessibility & contrast

On white

7.48
#3F45BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#3F45BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F45BE
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F45BE#FFFFFF#000000##FFFFFF
##3F45BE1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#004FBC
Tritanopia (blue-blind)
#00647B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3f45be;
/* rgb */ color: rgb(63, 69, 190);
/* oklch */ color: oklch(46.3% 0.186 274.3);
Tailwind
colors: {
  custom: {
    50: '#8479d3',
    500: '#3f45be',
    950: '#000000',
  },
}
SCSS
$custom: #3f45be;
$custom-light: #8479d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f45be",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 237.165,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4634,
    "c": 0.18602,
    "h": 274.3
  },
  "luminance": 0.09031
}

Semantic roles & 50–950 ramp

primary
#3F45BE
secondary
#C9C78F
accent
#D34EDA
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3F45BE

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

Preview Lab → · Contrast checker → · Palette generator →

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