#3E48C0#3E48C0

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

Color values

HEX#3E48C0
RGBrgb(62, 72, 192)
HSLhsl(235, 51%, 50%)
HSVhsv(235, 68%, 75%)
CMYKcmyk(67.7%, 62.5%, 0%, 24.7%)
CIE-LABlab(36.86, 35.04, -64.14)
CIE-LCHlch(36.86, 73.09, 298.65°)
OKLaboklab(46.98% 0.0104 -0.185)
OKLCHoklch(46.98% 0.185 273.2)
XYZxyz(13.8152, 9.4634, 50.9575)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E48C0 #C0B63E
analogous
#3E89C0 #3E48C0 #753EC0
triadic
#3E48C0 #C03E48 #48C03E
tetradic
#3E48C0 #C03E89 #C0B63E #3EC075
square
#3E48C0 #C03E89 #C0B63E #3EC075
split-complementary
#3E48C0 #C0753E #89C03E
monochromatic
#202563 #2F3792 #3E48C0 #6C73CF #9A9FDE

Accessibility & contrast

On white

7.26
#3E48C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3E48C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E48C0
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E48C0#FFFFFF#000000##FFFFFF
##3E48C01.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#0051BE
Tritanopia (blue-blind)
#00677D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3e48c0;
/* rgb */ color: rgb(62, 72, 192);
/* oklch */ color: oklch(47.0% 0.185 273.2);
Tailwind
colors: {
  custom: {
    50: '#837bd4',
    500: '#3e48c0',
    950: '#000000',
  },
}
SCSS
$custom: #3e48c0;
$custom-light: #837bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e48c0",
  "rgb": {
    "r": 62,
    "g": 72,
    "b": 192
  },
  "hsl": {
    "h": 235.385,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46977,
    "c": 0.18531,
    "h": 273.2
  },
  "luminance": 0.09465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E48C0

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

Preview Lab → · Contrast checker → · Palette generator →

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