#3E5AAA#3E5AAA

#3E5AAA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.8% C 0.132 H 267.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#3E5AAA
RGBrgb(62, 90, 170)
HSLhsl(224, 47%, 45%)
HSVhsv(224, 64%, 67%)
CMYKcmyk(63.5%, 47.1%, 0%, 33.3%)
CIE-LABlab(39.98, 15.64, -46.14)
CIE-LCHlch(39.98, 48.72, 288.73°)
OKLaboklab(48.81% -0.007 -0.1319)
OKLCHoklch(48.81% 0.132 267)
XYZxyz(12.8960, 11.2376, 39.5119)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5AAA #AA8E3E
analogous
#3E90AA #3E5AAA #583EAA
triadic
#3E5AAA #AA3E5A #5AAA3E
tetradic
#3E5AAA #AA3E90 #AA8E3E #3EAA58
square
#3E5AAA #AA3E90 #AA8E3E #3EAA58
split-complementary
#3E5AAA #AA583E #90AA3E
monochromatic
#1D2B50 #2E427D #3E5AAA #607AC5 #8DA0D5

Accessibility & contrast

On white

6.47
#3E5AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#3E5AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5AAA
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5AAA#FFFFFF#000000##FFFFFF
##3E5AAA1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3363AD
Deuteranopia (green-blind)
#1F5AA8
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3e5aaa;
/* rgb */ color: rgb(62, 90, 170);
/* oklch */ color: oklch(48.8% 0.132 267.0);
Tailwind
colors: {
  custom: {
    50: '#7e88c4',
    500: '#3e5aaa',
    950: '#000000',
  },
}
SCSS
$custom: #3e5aaa;
$custom-light: #7e88c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5aaa",
  "rgb": {
    "r": 62,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 224.444,
    "s": 46.552,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48812,
    "c": 0.13208,
    "h": 267
  },
  "luminance": 0.11239
}

Semantic roles & 50–950 ramp

primary
#3E5AAA
secondary
#C0B184
accent
#B452D6
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3E5AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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