#3F45A4#3F45A4

#3F45A4 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.2% C 0.151 H 275.6°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#3F45A4
RGBrgb(63, 69, 164)
HSLhsl(236, 44%, 45%)
HSVhsv(236, 62%, 64%)
CMYKcmyk(61.6%, 57.9%, 0%, 35.7%)
CIE-LABlab(33.97, 27.37, -52.25)
CIE-LCHlch(33.97, 58.99, 297.65°)
OKLaboklab(44.16% 0.0147 -0.1501)
OKLCHoklch(44.16% 0.151 275.6)
XYZxyz(10.8767, 7.9925, 36.0843)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F45A4 #A49E3F
analogous
#3F77A4 #3F45A4 #6C3FA4
triadic
#3F45A4 #A43F45 #45A43F
tetradic
#3F45A4 #A43F77 #A49E3F #3FA46C
square
#3F45A4 #A43F77 #A49E3F #3FA46C
split-complementary
#3F45A4 #A46C3F #77A43F
monochromatic
#1D204C #2E3278 #3F45A4 #5F65C1 #8B8FD2

Accessibility & contrast

On white

8.08
#3F45A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3F45A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F45A4
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F45A4#FFFFFF#000000##FFFFFF
##3F45A41.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3f45a4;
/* rgb */ color: rgb(63, 69, 164);
/* oklch */ color: oklch(44.2% 0.151 275.6);
Tailwind
colors: {
  custom: {
    50: '#7e78c0',
    500: '#3f45a4',
    950: '#000000',
  },
}
SCSS
$custom: #3f45a4;
$custom-light: #7e78c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f45a4",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 164
  },
  "hsl": {
    "h": 236.436,
    "s": 44.493,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44162,
    "c": 0.15082,
    "h": 275.6
  },
  "luminance": 0.07993
}

Semantic roles & 50–950 ramp

primary
#3F45A4
secondary
#BDBA82
accent
#CD54D4
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #3F45A4

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

Preview Lab → · Contrast checker → · Palette generator →

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