#3E45B3#3E45B3

#3E45B3 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.3% C 0.172 H 274.5°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#3E45B3
RGBrgb(62, 69, 179)
HSLhsl(236, 49%, 47%)
HSVhsv(236, 65%, 70%)
CMYKcmyk(65.4%, 61.5%, 0%, 29.8%)
CIE-LABlab(35.07, 32.42, -59.41)
CIE-LCHlch(35.07, 67.68, 298.62°)
OKLaboklab(45.33% 0.0134 -0.1711)
OKLCHoklch(45.33% 0.172 274.5)
XYZxyz(12.2487, 8.5340, 43.6408)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E45B3 #B3AC3E
analogous
#3E80B3 #3E45B3 #713EB3
triadic
#3E45B3 #B33E45 #45B33E
tetradic
#3E45B3 #B33E80 #B3AC3E #3EB371
square
#3E45B3 #B33E80 #B3AC3E #3EB371
split-complementary
#3E45B3 #B3713E #80B33E
monochromatic
#1F2258 #2E3386 #3E45B3 #656BCA #9296D9

Accessibility & contrast

On white

7.76
#3E45B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3E45B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E45B3
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E45B3#FFFFFF#000000##FFFFFF
##3E45B31.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3e45b3;
/* rgb */ color: rgb(62, 69, 179);
/* oklch */ color: oklch(45.3% 0.172 274.5);
Tailwind
colors: {
  custom: {
    50: '#8178cb',
    500: '#3e45b3',
    950: '#000000',
  },
}
SCSS
$custom: #3e45b3;
$custom-light: #8178cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e45b3",
  "rgb": {
    "r": 62,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 236.41,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45329,
    "c": 0.17167,
    "h": 274.5
  },
  "luminance": 0.08535
}

Semantic roles & 50–950 ramp

primary
#3E45B3
secondary
#C5C188
accent
#D050D8
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3E45B3

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

Preview Lab → · Contrast checker → · Palette generator →

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