#3F48AF#3F48AF

#3F48AF is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.6% C 0.162 H 274.2°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#3F48AF
RGBrgb(63, 72, 175)
HSLhsl(235, 47%, 47%)
HSVhsv(235, 64%, 69%)
CMYKcmyk(64%, 58.9%, 0%, 31.4%)
CIE-LABlab(35.57, 29.27, -56.22)
CIE-LCHlch(35.57, 63.38, 297.50°)
OKLaboklab(45.62% 0.012 -0.1617)
OKLCHoklch(45.62% 0.162 274.2)
XYZxyz(12.1026, 8.7856, 41.6071)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F48AF #AFA63F
analogous
#3F80AF #3F48AF #6E3FAF
triadic
#3F48AF #AF3F48 #48AF3F
tetradic
#3F48AF #AF3F80 #AFA63F #3FAF6E
square
#3F48AF #AF3F80 #AFA63F #3FAF6E
split-complementary
#3F48AF #AF6E3F #80AF3F
monochromatic
#1F2355 #2F3582 #3F48AF #646CC7 #9197D7

Accessibility & contrast

On white

7.62
#3F48AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3F48AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F48AF
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F48AF#FFFFFF#000000##FFFFFF
##3F48AF1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3f48af;
/* rgb */ color: rgb(63, 72, 175);
/* oklch */ color: oklch(45.6% 0.162 274.2);
Tailwind
colors: {
  custom: {
    50: '#807bc8',
    500: '#3f48af',
    950: '#000000',
  },
}
SCSS
$custom: #3f48af;
$custom-light: #807bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f48af",
  "rgb": {
    "r": 63,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 235.179,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45615,
    "c": 0.16218,
    "h": 274.2
  },
  "luminance": 0.08787
}

Semantic roles & 50–950 ramp

primary
#3F48AF
secondary
#C3BE87
accent
#CC51D7
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3F48AF

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

Preview Lab → · Contrast checker → · Palette generator →

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