#3E48A2#3E48A2

#3E48A2 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.5% C 0.144 H 274.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#3E48A2
RGBrgb(62, 72, 162)
HSLhsl(234, 45%, 44%)
HSVhsv(234, 62%, 64%)
CMYKcmyk(61.7%, 55.6%, 0%, 36.5%)
CIE-LABlab(34.53, 24.54, -50.14)
CIE-LCHlch(34.53, 55.82, 296.08°)
OKLaboklab(44.52% 0.0105 -0.1439)
OKLCHoklch(44.52% 0.144 274.2)
XYZxyz(10.8234, 8.2666, 35.2007)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E48A2 #A2983E
analogous
#3E7AA2 #3E48A2 #663EA2
triadic
#3E48A2 #A23E48 #48A23E
tetradic
#3E48A2 #A23E7A #A2983E #3EA266
square
#3E48A2 #A23E7A #A2983E #3EA266
split-complementary
#3E48A2 #A2663E #7AA23E
monochromatic
#1C2149 #2D3476 #3E48A2 #5C66C1 #8990D2

Accessibility & contrast

On white

7.91
#3E48A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3E48A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E48A2
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E48A2#FFFFFF#000000##FFFFFF
##3E48A21.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0556A5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3e48a2;
/* rgb */ color: rgb(62, 72, 162);
/* oklch */ color: oklch(44.5% 0.144 274.2);
Tailwind
colors: {
  custom: {
    50: '#7d7abe',
    500: '#3e48a2',
    950: '#000000',
  },
}
SCSS
$custom: #3e48a2;
$custom-light: #7d7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#3e48a2",
  "rgb": {
    "r": 62,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 234,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44519,
    "c": 0.14427,
    "h": 274.2
  },
  "luminance": 0.08267
}

Semantic roles & 50–950 ramp

primary
#3E48A2
secondary
#BCB680
accent
#C753D4
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #3E48A2

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

Preview Lab → · Contrast checker → · Palette generator →

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