#3E48AC#3E48AC

#3E48AC is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.158 H 273.9°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#3E48AC
RGBrgb(62, 72, 172)
HSLhsl(235, 47%, 46%)
HSVhsv(235, 64%, 67%)
CMYKcmyk(64%, 58.1%, 0%, 32.5%)
CIE-LABlab(35.27, 28.05, -54.92)
CIE-LCHlch(35.27, 61.67, 297.06°)
OKLaboklab(45.31% 0.0108 -0.1579)
OKLCHoklch(45.31% 0.158 273.9)
XYZxyz(11.7479, 8.6364, 40.0696)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E48AC #ACA23E
analogous
#3E7FAC #3E48AC #6B3EAC
triadic
#3E48AC #AC3E48 #48AC3E
tetradic
#3E48AC #AC3E7F #ACA23E #3EAC6B
square
#3E48AC #AC3E7F #ACA23E #3EAC6B
split-complementary
#3E48AC #AC6B3E #7FAC3E
monochromatic
#1E2252 #2E357F #3E48AC #616AC6 #8E95D6

Accessibility & contrast

On white

7.70
#3E48AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3E48AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E48AC
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E48AC#FFFFFF#000000##FFFFFF
##3E48AC1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3e48ac;
/* rgb */ color: rgb(62, 72, 172);
/* oklch */ color: oklch(45.3% 0.158 273.9);
Tailwind
colors: {
  custom: {
    50: '#7f7bc5',
    500: '#3e48ac',
    950: '#000000',
  },
}
SCSS
$custom: #3e48ac;
$custom-light: #7f7bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e48ac",
  "rgb": {
    "r": 62,
    "g": 72,
    "b": 172
  },
  "hsl": {
    "h": 234.545,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45308,
    "c": 0.1583,
    "h": 273.9
  },
  "luminance": 0.08637
}

Semantic roles & 50–950 ramp

primary
#3E48AC
secondary
#C1BC85
accent
#CA51D7
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3E48AC

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

Preview Lab → · Contrast checker → · Palette generator →

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