#3E45D7#3E45D7

#3E45D7 is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.5% C 0.218 H 272.8°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#3E45D7
RGBrgb(62, 69, 215)
HSLhsl(237, 66%, 54%)
HSVhsv(237, 71%, 84%)
CMYKcmyk(71.2%, 67.9%, 0%, 15.7%)
CIE-LABlab(38.17, 44.72, -75.33)
CIE-LCHlch(38.17, 87.60, 300.70°)
OKLaboklab(48.55% 0.0106 -0.2178)
OKLCHoklch(48.55% 0.218 272.8)
XYZxyz(16.3764, 10.1850, 65.3797)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E45D7 #D7D03E
analogous
#3E92D7 #3E45D7 #843ED7
triadic
#3E45D7 #D73E45 #45D73E
tetradic
#3E45D7 #D73E92 #D7D03E #3ED784
square
#3E45D7 #D73E92 #D7D03E #3ED784
split-complementary
#3E45D7 #D7843E #92D73E
monochromatic
#1B1F80 #252CB3 #3E45D7 #7176E2 #A3A7EC

Accessibility & contrast

On white

6.91
#3E45D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#3E45D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E45D7
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E45D7#FFFFFF#000000##FFFFFF
##3E45D71.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DB
Deuteranopia (green-blind)
#0053D4
Tritanopia (blue-blind)
#006D88
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3e45d7;
/* rgb */ color: rgb(62, 69, 215);
/* oklch */ color: oklch(48.5% 0.218 272.8);
Tailwind
colors: {
  custom: {
    50: '#8879e5',
    500: '#3e45d7',
    950: '#000000',
  },
}
SCSS
$custom: #3e45d7;
$custom-light: #8879e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e45d7",
  "rgb": {
    "r": 62,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 237.255,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.48547,
    "c": 0.21806,
    "h": 272.8
  },
  "luminance": 0.10187
}

Semantic roles & 50–950 ramp

primary
#3E45D7
secondary
#D9D698
accent
#E13FE9
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3E45D7

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

Preview Lab → · Contrast checker → · Palette generator →

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