#3E55AB#3E55AB

#3E55AB is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.8% C 0.140 H 269.3°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#3E55AB
RGBrgb(62, 85, 171)
HSLhsl(227, 47%, 46%)
HSVhsv(227, 64%, 67%)
CMYKcmyk(63.7%, 50.3%, 0%, 32.9%)
CIE-LABlab(38.66, 19.25, -48.86)
CIE-LCHlch(38.66, 52.51, 291.50°)
OKLaboklab(47.83% -0.0018 -0.1399)
OKLCHoklch(47.83% 0.14 269.3)
XYZxyz(12.5833, 10.4603, 39.8761)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E55AB #AB943E
analogous
#3E8BAB #3E55AB #5D3EAB
triadic
#3E55AB #AB3E55 #55AB3E
tetradic
#3E55AB #AB3E8B #AB943E #3EAB5D
square
#3E55AB #AB3E8B #AB943E #3EAB5D
split-complementary
#3E55AB #AB5D3E #8BAB3E
monochromatic
#1D2851 #2E3F7E #3E55AB #6176C6 #8E9DD6

Accessibility & contrast

On white

6.79
#3E55AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3E55AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E55AB
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E55AB#FFFFFF#000000##FFFFFF
##3E55AB1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2660AE
Deuteranopia (green-blind)
#0A56A9
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3e55ab;
/* rgb */ color: rgb(62, 85, 171);
/* oklch */ color: oklch(47.8% 0.140 269.3);
Tailwind
colors: {
  custom: {
    50: '#7e84c5',
    500: '#3e55ab',
    950: '#000000',
  },
}
SCSS
$custom: #3e55ab;
$custom-light: #7e84c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e55ab",
  "rgb": {
    "r": 62,
    "g": 85,
    "b": 171
  },
  "hsl": {
    "h": 227.339,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47827,
    "c": 0.13995,
    "h": 269.3
  },
  "luminance": 0.10461
}

Semantic roles & 50–950 ramp

primary
#3E55AB
secondary
#C1B484
accent
#BA51D6
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3E55AB

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

Preview Lab → · Contrast checker → · Palette generator →

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