#3F45AF#3F45AF

#3F45AF is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.1% C 0.166 H 275.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#3F45AF
RGBrgb(63, 69, 175)
HSLhsl(237, 47%, 47%)
HSVhsv(237, 64%, 69%)
CMYKcmyk(64%, 60.6%, 0%, 31.4%)
CIE-LABlab(34.82, 31.19, -57.44)
CIE-LCHlch(34.82, 65.36, 298.50°)
OKLaboklab(45.06% 0.0147 -0.1654)
OKLCHoklch(45.06% 0.166 275.1)
XYZxyz(11.9133, 8.4072, 41.5441)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F45AF #AFA93F
analogous
#3F7DAF #3F45AF #713FAF
triadic
#3F45AF #AF3F45 #45AF3F
tetradic
#3F45AF #AF3F7D #AFA93F #3FAF71
square
#3F45AF #AF3F7D #AFA93F #3FAF71
split-complementary
#3F45AF #AF713F #7DAF3F
monochromatic
#1F2255 #2F3382 #3F45AF #6469C7 #9195D7

Accessibility & contrast

On white

7.83
#3F45AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3F45AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F45AF
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F45AF#FFFFFF#000000##FFFFFF
##3F45AF1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f45af;
/* rgb */ color: rgb(63, 69, 175);
/* oklch */ color: oklch(45.1% 0.166 275.1);
Tailwind
colors: {
  custom: {
    50: '#8178c8',
    500: '#3f45af',
    950: '#000000',
  },
}
SCSS
$custom: #3f45af;
$custom-light: #8178c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f45af",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 236.786,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45059,
    "c": 0.16601,
    "h": 275.1
  },
  "luminance": 0.08408
}

Semantic roles & 50–950 ramp

primary
#3F45AF
secondary
#C3BF87
accent
#D051D7
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3F45AF

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

Preview Lab → · Contrast checker → · Palette generator →

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