#3F48A4#3F48A4

#3F48A4 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.7% C 0.147 H 274.6°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#3F48A4
RGBrgb(63, 72, 164)
HSLhsl(235, 44%, 45%)
HSVhsv(235, 62%, 64%)
CMYKcmyk(61.6%, 56.1%, 0%, 35.7%)
CIE-LABlab(34.74, 25.42, -51.00)
CIE-LCHlch(34.74, 56.98, 296.50°)
OKLaboklab(44.74% 0.0118 -0.1464)
OKLCHoklch(44.74% 0.147 274.6)
XYZxyz(11.0659, 8.3710, 36.1474)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F48A4 #A49B3F
analogous
#3F7BA4 #3F48A4 #683FA4
triadic
#3F48A4 #A43F48 #48A43F
tetradic
#3F48A4 #A43F7B #A49B3F #3FA468
square
#3F48A4 #A43F7B #A49B3F #3FA468
split-complementary
#3F48A4 #A4683F #7BA43F
monochromatic
#1D214C #2E3578 #3F48A4 #5F68C1 #8B91D2

Accessibility & contrast

On white

7.85
#3F48A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3F48A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F48A4
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F48A4#FFFFFF#000000##FFFFFF
##3F48A41.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#004DA2
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f48a4;
/* rgb */ color: rgb(63, 72, 164);
/* oklch */ color: oklch(44.7% 0.147 274.6);
Tailwind
colors: {
  custom: {
    50: '#7e7ac0',
    500: '#3f48a4',
    950: '#000000',
  },
}
SCSS
$custom: #3f48a4;
$custom-light: #7e7ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f48a4",
  "rgb": {
    "r": 63,
    "g": 72,
    "b": 164
  },
  "hsl": {
    "h": 234.653,
    "s": 44.493,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44741,
    "c": 0.14684,
    "h": 274.6
  },
  "luminance": 0.08372
}

Semantic roles & 50–950 ramp

primary
#3F48A4
secondary
#BDB882
accent
#C954D4
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #3F48A4

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

Preview Lab → · Contrast checker → · Palette generator →

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