#3E4DAA#3E4DAA

#3E4DAA is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.149 H 272.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#3E4DAA
RGBrgb(62, 77, 170)
HSLhsl(232, 47%, 45%)
HSVhsv(232, 64%, 67%)
CMYKcmyk(63.5%, 54.7%, 0%, 33.3%)
CIE-LABlab(36.43, 24.10, -51.86)
CIE-LCHlch(36.43, 57.18, 294.93°)
OKLaboklab(46.12% 0.006 -0.1489)
OKLCHoklch(46.12% 0.149 272.3)
XYZxyz(11.8938, 9.2332, 39.1778)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4DAA #AA9B3E
analogous
#3E83AA #3E4DAA #653EAA
triadic
#3E4DAA #AA3E4D #4DAA3E
tetradic
#3E4DAA #AA3E83 #AA9B3E #3EAA65
square
#3E4DAA #AA3E83 #AA9B3E #3EAA65
split-complementary
#3E4DAA #AA653E #83AA3E
monochromatic
#1D2450 #2E397D #3E4DAA #606EC5 #8D97D5

Accessibility & contrast

On white

7.38
#3E4DAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3E4DAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4DAA
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4DAA#FFFFFF#000000##FFFFFF
##3E4DAA1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5BAD
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3e4daa;
/* rgb */ color: rgb(62, 77, 170);
/* oklch */ color: oklch(46.1% 0.149 272.3);
Tailwind
colors: {
  custom: {
    50: '#7f7ec4',
    500: '#3e4daa',
    950: '#000000',
  },
}
SCSS
$custom: #3e4daa;
$custom-light: #7f7ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4daa",
  "rgb": {
    "r": 62,
    "g": 77,
    "b": 170
  },
  "hsl": {
    "h": 231.667,
    "s": 46.552,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46124,
    "c": 0.14899,
    "h": 272.3
  },
  "luminance": 0.09234
}

Semantic roles & 50–950 ramp

primary
#3E4DAA
secondary
#C0B884
accent
#C452D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3E4DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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