#3F48AA#3F48AA

#3F48AA is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.155 H 274.4°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#3F48AA
RGBrgb(63, 72, 170)
HSLhsl(235, 46%, 46%)
HSVhsv(235, 63%, 67%)
CMYKcmyk(62.9%, 57.6%, 0%, 33.3%)
CIE-LABlab(35.19, 27.52, -53.86)
CIE-LCHlch(35.19, 60.49, 297.07°)
OKLaboklab(45.21% 0.0119 -0.1548)
OKLCHoklch(45.21% 0.155 274.4)
XYZxyz(11.6206, 8.5928, 39.0686)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F48AA #AAA13F
analogous
#3F7DAA #3F48AA #6B3FAA
triadic
#3F48AA #AA3F48 #48AA3F
tetradic
#3F48AA #AA3F7D #AAA13F #3FAA6B
square
#3F48AA #AA3F7D #AAA13F #3FAA6B
split-complementary
#3F48AA #AA6B3F #7DAA3F
monochromatic
#1E2251 #2E357D #3F48AA #626AC5 #8E94D5

Accessibility & contrast

On white

7.72
#3F48AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3F48AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F48AA
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F48AA#FFFFFF#000000##FFFFFF
##3F48AA1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3f48aa;
/* rgb */ color: rgb(63, 72, 170);
/* oklch */ color: oklch(45.2% 0.155 274.4);
Tailwind
colors: {
  custom: {
    50: '#7f7bc4',
    500: '#3f48aa',
    950: '#000000',
  },
}
SCSS
$custom: #3f48aa;
$custom-light: #7f7bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f48aa",
  "rgb": {
    "r": 63,
    "g": 72,
    "b": 170
  },
  "hsl": {
    "h": 234.953,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45213,
    "c": 0.15527,
    "h": 274.4
  },
  "luminance": 0.08594
}

Semantic roles & 50–950 ramp

primary
#3F48AA
secondary
#C0BB85
accent
#CB52D6
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3F48AA

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

Preview Lab → · Contrast checker → · Palette generator →

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