#3E48C1#3E48C1

#3E48C1 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.1% C 0.187 H 273.2°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#3E48C1
RGBrgb(62, 72, 193)
HSLhsl(235, 51%, 50%)
HSVhsv(235, 68%, 76%)
CMYKcmyk(67.9%, 62.7%, 0%, 24.3%)
CIE-LABlab(36.94, 35.39, -64.59)
CIE-LCHlch(36.94, 73.65, 298.72°)
OKLaboklab(47.06% 0.0104 -0.1863)
OKLCHoklch(47.06% 0.187 273.2)
XYZxyz(13.9264, 9.5078, 51.5430)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E48C1 #C1B73E
analogous
#3E89C1 #3E48C1 #763EC1
triadic
#3E48C1 #C13E48 #48C13E
tetradic
#3E48C1 #C13E89 #C1B73E #3EC176
square
#3E48C1 #C13E89 #C1B73E #3EC176
split-complementary
#3E48C1 #C1763E #89C13E
monochromatic
#202564 #2F3793 #3E48C1 #6C74D0 #9BA0DF

Accessibility & contrast

On white

7.24
#3E48C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3E48C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E48C1
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E48C1#FFFFFF#000000##FFFFFF
##3E48C11.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC5
Deuteranopia (green-blind)
#0051BF
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3e48c1;
/* rgb */ color: rgb(62, 72, 193);
/* oklch */ color: oklch(47.1% 0.187 273.2);
Tailwind
colors: {
  custom: {
    50: '#837bd5',
    500: '#3e48c1',
    950: '#000000',
  },
}
SCSS
$custom: #3e48c1;
$custom-light: #837bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e48c1",
  "rgb": {
    "r": 62,
    "g": 72,
    "b": 193
  },
  "hsl": {
    "h": 235.42,
    "s": 51.373,
    "l": 50
  },
  "oklch": {
    "l": 0.47064,
    "c": 0.18663,
    "h": 273.2
  },
  "luminance": 0.09509
}

Semantic roles & 50–950 ramp

primary
#3E48C1
secondary
#CBC690
accent
#D04DDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3E48C1

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

Preview Lab → · Contrast checker → · Palette generator →

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