#3E4CAF#3E4CAF

#3E4CAF is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.157 H 272.6°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#3E4CAF
RGBrgb(62, 76, 175)
HSLhsl(233, 48%, 46%)
HSVhsv(233, 65%, 69%)
CMYKcmyk(64.6%, 56.6%, 0%, 31.4%)
CIE-LABlab(36.53, 26.52, -54.66)
CIE-LCHlch(36.53, 60.76, 295.88°)
OKLaboklab(46.32% 0.0072 -0.1571)
OKLCHoklch(46.32% 0.157 272.6)
XYZxyz(12.3063, 9.2871, 41.6932)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4CAF #AFA13E
analogous
#3E85AF #3E4CAF #693EAF
triadic
#3E4CAF #AF3E4C #4CAF3E
tetradic
#3E4CAF #AF3E85 #AFA13E #3EAF69
square
#3E4CAF #AF3E85 #AFA13E #3EAF69
split-complementary
#3E4CAF #AF693E #85AF3E
monochromatic
#1E2555 #2E3882 #3E4CAF #636FC8 #9099D8

Accessibility & contrast

On white

7.35
#3E4CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3E4CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4CAF
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4CAF#FFFFFF#000000##FFFFFF
##3E4CAF1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3e4caf;
/* rgb */ color: rgb(62, 76, 175);
/* oklch */ color: oklch(46.3% 0.157 272.6);
Tailwind
colors: {
  custom: {
    50: '#807dc8',
    500: '#3e4caf',
    950: '#000000',
  },
}
SCSS
$custom: #3e4caf;
$custom-light: #807dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4caf",
  "rgb": {
    "r": 62,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 232.566,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46316,
    "c": 0.1573,
    "h": 272.6
  },
  "luminance": 0.09288
}

Semantic roles & 50–950 ramp

primary
#3E4CAF
secondary
#C3BB86
accent
#C751D7
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3E4CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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