#3E4AAA#3E4AAA

#3E4AAA is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.5% C 0.153 H 273.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#3E4AAA
RGBrgb(62, 74, 170)
HSLhsl(233, 47%, 45%)
HSVhsv(233, 64%, 67%)
CMYKcmyk(63.5%, 56.5%, 0%, 33.3%)
CIE-LABlab(35.64, 26.05, -53.13)
CIE-LCHlch(35.64, 59.18, 296.12°)
OKLaboklab(45.53% 0.0089 -0.1527)
OKLCHoklch(45.53% 0.153 273.3)
XYZxyz(11.6887, 8.8230, 39.1095)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4AAA #AA9E3E
analogous
#3E80AA #3E4AAA #683EAA
triadic
#3E4AAA #AA3E4A #4AAA3E
tetradic
#3E4AAA #AA3E80 #AA9E3E #3EAA68
square
#3E4AAA #AA3E80 #AA9E3E #3EAA68
split-complementary
#3E4AAA #AA683E #80AA3E
monochromatic
#1D2350 #2E367D #3E4AAA #606BC5 #8D95D5

Accessibility & contrast

On white

7.60
#3E4AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3E4AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4AAA
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4AAA#FFFFFF#000000##FFFFFF
##3E4AAA1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#004FA8
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3e4aaa;
/* rgb */ color: rgb(62, 74, 170);
/* oklch */ color: oklch(45.5% 0.153 273.3);
Tailwind
colors: {
  custom: {
    50: '#7f7cc4',
    500: '#3e4aaa',
    950: '#000000',
  },
}
SCSS
$custom: #3e4aaa;
$custom-light: #7f7cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4aaa",
  "rgb": {
    "r": 62,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 233.333,
    "s": 46.552,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45534,
    "c": 0.15292,
    "h": 273.3
  },
  "luminance": 0.08824
}

Semantic roles & 50–950 ramp

primary
#3E4AAA
secondary
#C0B984
accent
#C752D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3E4AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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