#3E45A2#3E45A2

#3E45A2 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.148 H 275.2°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#3E45A2
RGBrgb(62, 69, 162)
HSLhsl(236, 45%, 44%)
HSVhsv(236, 62%, 64%)
CMYKcmyk(61.7%, 57.4%, 0%, 36.5%)
CIE-LABlab(33.75, 26.50, -51.41)
CIE-LCHlch(33.75, 57.84, 297.27°)
OKLaboklab(43.93% 0.0135 -0.1476)
OKLCHoklch(43.93% 0.148 275.2)
XYZxyz(10.6342, 7.8882, 35.1376)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E45A2 #A29B3E
analogous
#3E77A2 #3E45A2 #693EA2
triadic
#3E45A2 #A23E45 #45A23E
tetradic
#3E45A2 #A23E77 #A29B3E #3EA269
square
#3E45A2 #A23E77 #A29B3E #3EA269
split-complementary
#3E45A2 #A2693E #77A23E
monochromatic
#1C1F49 #2D3276 #3E45A2 #5C63C1 #898ED2

Accessibility & contrast

On white

8.15
#3E45A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3E45A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E45A2
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E45A2#FFFFFF#000000##FFFFFF
##3E45A21.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3e45a2;
/* rgb */ color: rgb(62, 69, 162);
/* oklch */ color: oklch(43.9% 0.148 275.2);
Tailwind
colors: {
  custom: {
    50: '#7e78be',
    500: '#3e45a2',
    950: '#000000',
  },
}
SCSS
$custom: #3e45a2;
$custom-light: #7e78be;
$custom-dark: #000000;
JSON
{
  "hex": "#3e45a2",
  "rgb": {
    "r": 62,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 235.8,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43934,
    "c": 0.14826,
    "h": 275.2
  },
  "luminance": 0.07889
}

Semantic roles & 50–950 ramp

primary
#3E45A2
secondary
#BCB880
accent
#CB53D4
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #3E45A2

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

Preview Lab → · Contrast checker → · Palette generator →

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