#3F48A3#3F48A3

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

Color values

HEX#3F48A3
RGBrgb(63, 72, 163)
HSLhsl(235, 44%, 44%)
HSVhsv(235, 61%, 64%)
CMYKcmyk(61.3%, 55.8%, 0%, 36.1%)
CIE-LABlab(34.67, 25.08, -50.51)
CIE-LCHlch(34.67, 56.39, 296.40°)
OKLaboklab(44.66% 0.0117 -0.1449)
OKLCHoklch(44.66% 0.145 274.6)
XYZxyz(10.9760, 8.3350, 35.6736)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F48A3 #A39A3F
analogous
#3F7AA3 #3F48A3 #683FA3
triadic
#3F48A3 #A33F48 #48A33F
tetradic
#3F48A3 #A33F7A #A39A3F #3FA368
square
#3F48A3 #A33F7A #A39A3F #3FA368
split-complementary
#3F48A3 #A3683F #7AA33F
monochromatic
#1D214B #2E3577 #3F48A3 #5E67C1 #8A91D2

Accessibility & contrast

On white

7.87
#3F48A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F48A3
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F48A3#FFFFFF#000000##FFFFFF
##3F48A31.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0256A6
Deuteranopia (green-blind)
#004DA1
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f48a3;
/* rgb */ color: rgb(63, 72, 163);
/* oklch */ color: oklch(44.7% 0.145 274.6);
Tailwind
colors: {
  custom: {
    50: '#7e7abf',
    500: '#3f48a3',
    950: '#000000',
  },
}
SCSS
$custom: #3f48a3;
$custom-light: #7e7abf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f48a3",
  "rgb": {
    "r": 63,
    "g": 72,
    "b": 163
  },
  "hsl": {
    "h": 234.6,
    "s": 44.248,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44663,
    "c": 0.14542,
    "h": 274.6
  },
  "luminance": 0.08336
}

Semantic roles & 50–950 ramp

primary
#3F48A3
secondary
#BDB781
accent
#C854D4
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #3F48A3

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

Preview Lab → · Contrast checker → · Palette generator →

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