#3E55A2#3E55A2

#3E55A2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.2% C 0.127 H 268.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#3E55A2
RGBrgb(62, 85, 162)
HSLhsl(226, 45%, 44%)
HSVhsv(226, 62%, 64%)
CMYKcmyk(61.7%, 47.5%, 0%, 36.5%)
CIE-LABlab(38.07, 16.04, -44.44)
CIE-LCHlch(38.07, 47.24, 289.85°)
OKLaboklab(47.2% -0.0029 -0.1269)
OKLCHoklch(47.2% 0.127 268.7)
XYZxyz(11.7545, 10.1288, 35.5110)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E55A2 #A28B3E
analogous
#3E87A2 #3E55A2 #593EA2
triadic
#3E55A2 #A23E55 #55A23E
tetradic
#3E55A2 #A23E87 #A28B3E #3EA259
square
#3E55A2 #A23E87 #A28B3E #3EA259
split-complementary
#3E55A2 #A2593E #87A23E
monochromatic
#1C2749 #2D3E76 #3E55A2 #5C74C1 #8999D2

Accessibility & contrast

On white

6.94
#3E55A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3E55A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E55A2
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E55A2#FFFFFF#000000##FFFFFF
##3E55A21.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5EA5
Deuteranopia (green-blind)
#1F55A0
Tritanopia (blue-blind)
#006673
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3e55a2;
/* rgb */ color: rgb(62, 85, 162);
/* oklch */ color: oklch(47.2% 0.127 268.7);
Tailwind
colors: {
  custom: {
    50: '#7d84be',
    500: '#3e55a2',
    950: '#000000',
  },
}
SCSS
$custom: #3e55a2;
$custom-light: #7d84be;
$custom-dark: #000000;
JSON
{
  "hex": "#3e55a2",
  "rgb": {
    "r": 62,
    "g": 85,
    "b": 162
  },
  "hsl": {
    "h": 226.2,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47195,
    "c": 0.12698,
    "h": 268.7
  },
  "luminance": 0.1013
}

Semantic roles & 50–950 ramp

primary
#3E55A2
secondary
#BCAE80
accent
#B753D4
background
#F8F8FB
surface
#EFEFF7
border
#CACAD0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3E55A2

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

Preview Lab → · Contrast checker → · Palette generator →

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