#3F45B4#3F45B4

#3F45B4 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.5% C 0.173 H 274.8°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#3F45B4
RGBrgb(63, 69, 180)
HSLhsl(237, 48%, 48%)
HSVhsv(237, 65%, 71%)
CMYKcmyk(65%, 61.7%, 0%, 29.4%)
CIE-LABlab(35.22, 32.92, -59.76)
CIE-LCHlch(35.22, 68.23, 298.85°)
OKLaboklab(45.48% 0.0145 -0.1722)
OKLCHoklch(45.48% 0.173 274.8)
XYZxyz(12.4135, 8.6072, 44.1784)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F45B4 #B4AE3F
analogous
#3F7FB4 #3F45B4 #733FB4
triadic
#3F45B4 #B43F45 #45B43F
tetradic
#3F45B4 #B43F7F #B4AE3F #3FB473
square
#3F45B4 #B43F7F #B4AE3F #3FB473
split-complementary
#3F45B4 #B4733F #7FB43F
monochromatic
#1F2259 #2F3487 #3F45B4 #676CCA #9497DA

Accessibility & contrast

On white

7.72
#3F45B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3F45B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F45B4
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F45B4#FFFFFF#000000##FFFFFF
##3F45B41.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#006176
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3f45b4;
/* rgb */ color: rgb(63, 69, 180);
/* oklch */ color: oklch(45.5% 0.173 274.8);
Tailwind
colors: {
  custom: {
    50: '#8279cb',
    500: '#3f45b4',
    950: '#000000',
  },
}
SCSS
$custom: #3f45b4;
$custom-light: #8279cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f45b4",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 180
  },
  "hsl": {
    "h": 236.923,
    "s": 48.148,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45479,
    "c": 0.17277,
    "h": 274.8
  },
  "luminance": 0.08608
}

Semantic roles & 50–950 ramp

primary
#3F45B4
secondary
#C5C28A
accent
#D150D8
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #3F45B4

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

Preview Lab → · Contrast checker → · Palette generator →

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