#3F45A2#3F45A2

#3F45A2 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.0% C 0.148 H 275.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#3F45A2
RGBrgb(63, 69, 162)
HSLhsl(236, 44%, 44%)
HSVhsv(236, 61%, 64%)
CMYKcmyk(61.1%, 57.4%, 0%, 36.5%)
CIE-LABlab(33.82, 26.68, -51.30)
CIE-LCHlch(33.82, 57.82, 297.48°)
OKLaboklab(44% 0.0147 -0.1473)
OKLCHoklch(44% 0.148 275.7)
XYZxyz(10.6975, 7.9208, 35.1406)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F45A2 #A29C3F
analogous
#3F77A2 #3F45A2 #6B3FA2
triadic
#3F45A2 #A23F45 #45A23F
tetradic
#3F45A2 #A23F77 #A29C3F #3FA26B
square
#3F45A2 #A23F77 #A29C3F #3FA26B
split-complementary
#3F45A2 #A26B3F #77A23F
monochromatic
#1D1F4A #2E3276 #3F45A2 #5E64C0 #8A8ED1

Accessibility & contrast

On white

8.13
#3F45A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3F45A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F45A2
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F45A2#FFFFFF#000000##FFFFFF
##3F45A21.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3f45a2;
/* rgb */ color: rgb(63, 69, 162);
/* oklch */ color: oklch(44.0% 0.148 275.7);
Tailwind
colors: {
  custom: {
    50: '#7e78be',
    500: '#3f45a2',
    950: '#000000',
  },
}
SCSS
$custom: #3f45a2;
$custom-light: #7e78be;
$custom-dark: #000000;
JSON
{
  "hex": "#3f45a2",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 236.364,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44003,
    "c": 0.14801,
    "h": 275.7
  },
  "luminance": 0.07922
}

Semantic roles & 50–950 ramp

primary
#3F45A2
secondary
#BCB981
accent
#CC54D4
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #3F45A2

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

Preview Lab → · Contrast checker → · Palette generator →

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